summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-80375.rs
blob: c906bb2c4d9b46a515f7d7a3197a964f2a71042c (plain)
1
2
3
4
struct MyArray<const COUNT: usize>([u8; COUNT + 1]);
//~^ ERROR generic parameters may not be used in const operations

fn main() {}