Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
const-generics
/
apit-with-const-param.rs
blob: 7acc50819a6ad4ed2869bff7a4ffc0aa8ade6fb4 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
const_generics
)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
trait
Trait
{}
fn
f
<
const
N
:
usize
>(
_
:
impl
Trait
)
{}
fn
main
()
{}