Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
inline-const
/
referencing-local-variables.rs
blob: f9f0fef07f08b15e792377b62d4ebd8e26e83334 [
file
] [
log
] [
blame
]
const
fn
test_me
<
T
>(
a
:
usize
)
->
usize
{
const
{
a
}
//~^ ERROR: attempt to use a non-constant value in a constant
}
fn
main
()
{}