Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
lint
/
dead-code
/
pub-field-in-priv-mod.rs
blob: e49a164e9401bea51672a30fcd8025546e7136ad [
file
] [
log
] [
blame
]
#![
deny
(
dead_code
)]
fn
main
()
{
let
_
=
foo
::
S
{
f
:
false
};
}
mod
foo
{
pub
struct
S
{
pub
f
:
bool
,
//~ ERROR field `f` is never read
}
}