Sign in
fuchsia
/
third_party
/
rust
/
1e3b57ee7754702ce9fcef73686b5bcee405dd4a
/
.
/
src
/
test
/
ui
/
suggestions
/
assoc-const-as-field.rs
blob: 678b58936a8d6922cf109ac0b2f6d82b33af0e3d [
file
] [
log
] [
blame
]
pub
mod
Mod
{
pub
struct
Foo
{}
impl
Foo
{
pub
const
BAR
:
usize
=
42
;
}
}
fn
foo
(
_
:
usize
)
{}
fn
main
()
{
foo
(
Mod
::
Foo
.
Bar
);
//~^ ERROR expected value, found
}