summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-60263.rs
blob: 70cbc242c41a55683c46276e7b70d50876ec66e4 (plain)
1
2
3
4
5
6
7
8
9
struct B<const I: u8>; //~ ERROR const generics are unstable

impl B<0> {
    fn bug() -> Self {
        panic!()
    }
}

fn main() {}