]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/associated-type-bound-fail.rs
1 trait Bar
<const N
: usize> {}
3 trait Foo
<const N
: usize> {
8 impl<const N
: usize> Foo
<N
> for i16 {
9 type Assoc
= u16; //~ ERROR the trait bound `u16: Bar<N>`