Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
ab1f382ca8fa4a4c0dde58679207f9bec394fa0e
/
.
/
tests
/
ui
/
error-codes
/
E0616.rs
blob: 98f87a83bc54429ab7c68f07afa2238bf7f36f34 [
file
] [
log
] [
blame
]
mod
a
{
pub
struct
Foo
{
x
:
u32
,
}
impl
Foo
{
pub
fn
new
()
->
Foo
{
Foo
{
x
:
0
}
}
}
}
fn
main
()
{
let
f
=
a
::
Foo
::
new
();
f
.
x
;
//~ ERROR E0616
}