summary refs log tree commit diff
path: root/src/test/ui/associated-const/issue-63496.rs
blob: f9f663af5e2655bce0d3f39d8880e299e11654f9 (plain)
1
2
3
4
5
6
7
8
9
trait A {
    const C: usize;

    fn f() -> ([u8; A::C], [u8; A::C]);
    //~^ ERROR: type annotations needed
    //~| ERROR: type annotations needed
}

fn main() {}