Sign in
◑
Theme
rust
/
rust
/
e2893f7c95e45f74c8bc5dbd033486c5bfaa4deb
/
.
/
tests
/
crashes
/
137514.rs
blob: 7ae5f29e36e6349412a50e02e44358da2ecbd892 [
file
]
//@ known-bug: #137514
//@ needs-rustc-debug-assertions
#![
feature
(
generic_const_exprs
)]
trait
Bar
<
const
N
:
usize
>
{}
trait
BB
=
Bar
<{
1i32
+
1
}>;
fn
foo
(
x
:
&
dyn BB
)
{}