summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/issue-63496.rs
blob: 67ef4e74cf2e0824b449f485150739b36796ba7a (plain)
1
2
3
4
5
6
7
8
9
trait A {
    const C: usize;

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

fn main() {}