Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
associated-const
/
associated-const-no-item.rs
blob: 024d14e21b5fd2efe9185d3b67b162e76d720dce [
file
] [
log
] [
blame
]
trait
Foo
{
const
ID
:
i32
;
}
const
X
:
i32
=
<
i32
>::
ID
;
//~^ ERROR no associated item named `ID` found
fn
main
()
{
assert_eq
!(
1
,
X
);
}