blob: 85c684ca0328e8258da389674be1524fdb085fe0 [file] [log] [blame]
// run-pass
// check that type parameters can't "shadow" qualified paths.
fn check<Clone>(_c: Clone) {
fn check2() {
let _ = <() as std::clone::Clone>::clone(&());
}
check2();
}
fn main() { check(()); }