We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5d33d8 commit 58be3c7Copy full SHA for 58be3c7
src/libcore/marker.rs
@@ -47,7 +47,8 @@ impl<T> !Send for *mut T { }
47
/// Types with a constant size known at compile-time.
48
#[stable(feature = "rust1", since = "1.0.0")]
49
#[lang = "sized"]
50
-#[rustc_on_unimplemented = "`{Self}` does not have a constant size known at compile-time"]
+#[rustc_on_unimplemented = "`{Self}` does not have a constant size known at compile-time. \
51
+ Try to use `&{Self}` or `Box<{Self}>`?"]
52
#[fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
53
pub trait Sized {
54
// Empty.
0 commit comments