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;
}