416331ca |
1 | // run-pass |
92a42be0 |
2 | // check that type parameters can't "shadow" qualified paths. |
223e47cc |
3 | |
92a42be0 SL |
4 | fn check<Clone>(_c: Clone) { |
5 | fn check2() { |
0bf4aa26 |
6 | let _ = <() as std::clone::Clone>::clone(&()); |
92a42be0 SL |
7 | } |
8 | check2(); |
9 | } |
10 | |
11 | fn main() { check(()); } |