Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
crashes
/
139815.rs
blob: 9094acdc94b21bac729bc014f88c924c7f3bee00 [
file
] [
log
] [
blame
]
//@ known-bug: #139815
#![
feature
(
generic_const_exprs
)]
fn
is_123
<
const
N
:
usize
>(
x
:
[
u32
;
{
N
+
1
;
5
}],
)
->
bool
{
match
x
{
[
1
,
2
]
=>
true
,
_
=>
false
,
}
}