3 #![allow(non_camel_case_types)]
4 #![allow(unused_imports)]
14 use T as _; //~ ERROR imports cannot refer to type parameters
15 use T::U; //~ ERROR imports cannot refer to type parameters
16 use T::*; //~ ERROR imports cannot refer to type parameters
20 use T; //~ ERROR imports cannot refer to type parameters
26 use x as _; //~ ERROR imports cannot refer to local variables
31 fn param_binding(x: u8) {
32 use x; //~ ERROR imports cannot refer to local variables
38 use x; //~ ERROR imports cannot refer to local variables
46 use {T as _, x}; //~ ERROR imports cannot refer to type parameters
47 //~| ERROR imports cannot refer to local variables