Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
const-generics
/
struct-with-invalid-const-param.rs
blob: 207b07bf69514ea7deeff86e290b2b3fbe2865d1 [
file
] [
log
] [
blame
]
#![
feature
(
const_generics
)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
struct
S
<
const
C
:
u8
>(
C
);
//~ ERROR expected type, found const parameter
fn
main
()
{}