Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
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
()
{}