Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
crashes
/
136766.rs
blob: 01fa07a05ae355f3ed3eed8b0b98ae2a252f27cc [
file
] [
log
] [
blame
]
//@ known-bug: #136766
#![
feature
(
generic_const_exprs
)]
trait
A
<
const
B
:
bool
>{}
impl
A
<
true
>
for
()
{}
fn
c
<
const
D
:
usize
>(
E
:
[
u8
;
D
*
D
])
where
()
:
A
<
D
>{}
fn
main
()
{
c
}