]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/issues/issue-67185-2.rs
9 impl Bar
for [u16; 4] {}
10 impl Bar
for [[u16; 3]; 3] {}
14 [<u8 as Baz
>::Quaks
; 2]: Bar
, //~ ERROR the trait bound `[[u16; 3]; 2]: Bar` is not satisfied [E0277]
15 <u8 as Baz
>::Quaks
: Bar
, //~ ERROR the trait bound `[u16; 3]: Bar` is not satisfied [E0277]
21 impl Foo
for FooImpl {}
22 //~^ ERROR the trait bound `[u16; 3]: Bar` is not satisfied [E0277]
23 //~^^ ERROR the trait bound `[[u16; 3]; 2]: Bar` is not satisfied [E0277]
26 //~^ ERROR the trait bound `[u16; 3]: Bar` is not satisfied [E0277]
27 //~^^ ERROR the trait bound `[[u16; 3]; 2]: Bar` is not satisfied [E0277]