Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
associated-const
/
associated-const-no-item.rs
blob: 35fb662f63aeecb18d6e5b28d65f820340c99aaf [
file
] [
log
] [
blame
]
trait
Foo
{
const
ID
:
i32
;
}
const
X
:
i32
=
<
i32
>::
ID
;
//~^ ERROR no associated item named `ID` found for type `i32`
fn
main
()
{
assert_eq
!(
1
,
X
);
}