Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
associated-consts
/
associated-const-in-trait.rs
blob: cf5d5d859b6e4c0c52ffb8ba093933538e5037c3 [
file
] [
log
] [
blame
]
// #29924
trait
Trait
{
const
N
:
usize
;
}
impl
dyn
Trait
{
//~^ ERROR the trait `Trait` cannot be made into an object [E0038]
const
fn
n
()
->
usize
{
Self
::
N
}
}
fn
main
()
{}