]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/backcompat/trait-resolution-breakage.rs
4 const ASSOC_CONST
: usize = 0;
7 impl Trait
<()> for u8 {}
9 // `u8::ASSOC_CONST` is resolved today, but will be ambiguous
10 // under lazy normalization.
11 fn foo
<T
, U
>() -> [(T
, U
); u8::ASSOC_CONST
]
13 u8: Trait
<T
> + Trait
<U
>,