Sign in
fuchsia
/
third_party
/
rust
/
89573b3c8b629507130b1ec8beeaf550fdc0e046
/
.
/
src
/
test
/
run-pass
/
lint-dead-code-associated-type.rs
blob: 576ba6d170cf6a79bfd5691ce5178d67df2b26d6 [
file
] [
log
] [
blame
]
#![
deny
(
dead_code
)]
trait
Foo
{
type
Bar
;
}
struct
Used
;
struct
Ex
;
impl
Foo
for
Ex
{
type
Bar
=
Used
;
}
pub
fn
main
()
{
let
_x
=
Ex
;
}