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