blob: 89f4c83454d89c4494ec410d53ebc06624ff2c84 [file]
// Checks that a const param cannot be stored in a struct.
struct S<const C: u8>(C); //~ ERROR cannot find type `C` in this scope
fn main() {}