Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
suggestions
/
assoc-const-without-self.rs
blob: 95070ec601cd49cad61b522cc23db1849c97e5b6 [
file
] [
log
] [
blame
]
struct
Foo
;
impl
Foo
{
const
A_CONST
:
usize
=
1
;
fn
foo
()
->
usize
{
A_CONST
//~ ERROR cannot find value `A_CONST` in this scope
}
}
fn
main
()
{}