blob: b7951ba9a435cf78faf8082e76e63eeb87e6bd1f [file] [log] [blame]
//! regression test for <https://github.com/rust-lang/rust/issues/26614>
//@ check-pass
trait Mirror {
type It;
}
impl<T> Mirror for T {
type It = Self;
}
fn main() {
let c: <u32 as Mirror>::It = 5;
const CCCC: <u32 as Mirror>::It = 5;
}