-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-DSTsArea: Dynamically-sized types (DSTs)Area: Dynamically-sized types (DSTs)A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.
Description
trait Tr {}
impl<T> Tr for () {}
fn main() {}
foo.rs:2:1: 2:21 error: the trait `core::kinds::Sized` is not implemented for the type `<generic #0>`
foo.rs:2 impl<T> Tr for () {}
^~~~~~~~~~~~~~~~~~~~
foo.rs:2:1: 2:21 note: the trait `core::kinds::Sized` must be implemented because it is required by `Tr`
foo.rs:2 impl<T> Tr for () {}
^~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
A-DSTsArea: Dynamically-sized types (DSTs)Area: Dynamically-sized types (DSTs)A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.