2018-11-17 11:00:00 -06:00
|
|
|
error: imports cannot refer to type parameters
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:14:9
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use T as _; //~ ERROR imports cannot refer to type parameters
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to type parameters
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:15:9
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use T::U; //~ ERROR imports cannot refer to type parameters
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to type parameters
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:16:9
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use T::*; //~ ERROR imports cannot refer to type parameters
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to local variables
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:26:9
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use x as _; //~ ERROR imports cannot refer to local variables
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to local variables
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:32:9
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use x; //~ ERROR imports cannot refer to local variables
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to local variables
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:38:17
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use x; //~ ERROR imports cannot refer to local variables
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to type parameters
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:46:10
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use {T as _, x}; //~ ERROR imports cannot refer to type parameters
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: imports cannot refer to local variables
|
2018-12-16 21:21:47 -06:00
|
|
|
--> $DIR/future-proofing-locals.rs:46:18
|
2018-11-17 11:00:00 -06:00
|
|
|
|
|
|
|
|
LL | use {T as _, x}; //~ ERROR imports cannot refer to type parameters
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|