mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 17:05:41 +00:00
15 lines
401 B
Plaintext
15 lines
401 B
Plaintext
error: generic `Self` types are currently not permitted in anonymous constants
|
|
--> $DIR/self-ty-in-const-2.rs:15:41
|
|
|
|
|
LL | let _: [u8; std::mem::size_of::<Self>()];
|
|
| ^^^^
|
|
|
|
|
note: not a concrete type
|
|
--> $DIR/self-ty-in-const-2.rs:13:17
|
|
|
|
|
LL | impl<T> Baz for Bar<T> {
|
|
| ^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|