]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/min_const_generics/self-ty-in-const-2.stderr
Merge branch 'debian/experimental2' into debian/sid
[rustc.git] / src / test / ui / const-generics / min_const_generics / self-ty-in-const-2.stderr
1 error: generic `Self` types are currently not permitted in anonymous constants
2 --> $DIR/self-ty-in-const-2.rs:15:41
3 |
4 LL | let _: [u8; std::mem::size_of::<Self>()];
5 | ^^^^
6 |
7 note: not a concrete type
8 --> $DIR/self-ty-in-const-2.rs:13:17
9 |
10 LL | impl<T> Baz for Bar<T> {
11 | ^^^^^^
12
13 error: aborting due to previous error
14