Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
consts
/
issue-116186.rs
blob: 8bfb47629e7f4866e16a66fb7879cc6b890bf8ec [
file
] [
log
] [
blame
]
#![
allow
(
incomplete_features
)]
#![
feature
(
generic_const_exprs
)]
fn
something
(
path
:
[
usize
;
N
])
->
impl
Clone
{
//~^ ERROR cannot find value `N` in this scope
match
path
{
[]
=>
0
,
_
=>
1
,
};
}
fn
main
()
{}