Sign in
◑
Theme
rust
/
rust
/
a7fa2dfd8e2bba4cc0833178cfc6e046ca4ef7f3
/
.
/
tests
/
ui
/
dyn-compatibility
/
assoc_const_bounds_sized.rs
blob: 1272a735e83de96b69e5498722959333f458974c [
file
]
#![
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
()
{}