2020-09-01 07:30:16 -05:00
|
|
|
error: generic `Self` types are currently not permitted in anonymous constants
|
2020-11-17 04:44:21 -06:00
|
|
|
--> $DIR/self-ty-in-const-2.rs:15:41
|
2020-09-01 07:30:16 -05:00
|
|
|
|
|
|
|
|
LL | let _: [u8; std::mem::size_of::<Self>()];
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
note: not a concrete type
|
2020-11-17 04:44:21 -06:00
|
|
|
--> $DIR/self-ty-in-const-2.rs:13:17
|
2020-09-01 07:30:16 -05:00
|
|
|
|
|
2020-09-08 04:37:27 -05:00
|
|
|
LL | impl<T> Baz for Bar<T> {
|
|
|
|
| ^^^^^^
|
2020-09-01 07:30:16 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|