We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sized: Thin
1 parent 922958c commit 7db37a3Copy full SHA for 7db37a3
library/core/src/marker.rs
@@ -157,7 +157,7 @@ unsafe impl<T: Sync + PointeeSized> Send for &T {}
157
// and we know that the supertraits are always implemented if the subtrait is just by looking at
158
// the builtin impls.
159
#[rustc_coinductive]
160
-pub trait Sized: MetaSized {
+pub trait Sized: MetaSized + crate::ptr::Thin {
161
// Empty.
162
}
163
tests/ui/associated-types/ident-from-macro-expansion.stderr
@@ -14,7 +14,7 @@ LL | T::$id
14
| --- due to this macro variable
15
...
16
LL | let x: type_dependent!(T, Assoc);
17
- | ^^^^^ associated type `Assoc` not found
+ | ^^^^^ help: `T` has the following associated type: `Metadata`
18
19
error: aborting due to 2 previous errors
20
0 commit comments