Sign in
android
/
toolchain
/
rustc
/
5a9405fdae034de7a7f28574bd24a2cd4fef1689
/
.
/
tests
/
ui
/
dyn-compatibility
/
assoc_const_bounds_sized.rs
blob: 1272a735e83de96b69e5498722959333f458974c [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_items
)]
#![
allow
(
incomplete_features
,
dead_code
)]
//@ check-pass
trait
Foo
{
const
BAR
:
bool
where
Self
:
Sized
;
}
fn
foo
(
_
:
&
dyn
Foo
)
{}
fn
main
()
{}