rust/tests/ui/rust-2018/future-proofing-locals.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.2 KiB
Plaintext
Raw Normal View History

error: imports cannot refer to type parameters
--> $DIR/future-proofing-locals.rs:14:9
|
2019-03-09 06:03:44 -06:00
LL | use T as _;
| ^
error: imports cannot refer to type parameters
--> $DIR/future-proofing-locals.rs:15:9
|
2019-03-09 06:03:44 -06:00
LL | use T::U;
| ^
error: imports cannot refer to type parameters
--> $DIR/future-proofing-locals.rs:16:9
|
2019-03-09 06:03:44 -06:00
LL | use T::*;
| ^
error: imports cannot refer to type parameters
--> $DIR/future-proofing-locals.rs:20:9
|
2019-03-09 06:03:44 -06:00
LL | use T;
| ^
error: imports cannot refer to local variables
--> $DIR/future-proofing-locals.rs:26:9
|
2019-03-09 06:03:44 -06:00
LL | use x as _;
| ^
error: imports cannot refer to local variables
--> $DIR/future-proofing-locals.rs:32:9
|
2019-03-09 06:03:44 -06:00
LL | use x;
| ^
error: imports cannot refer to local variables
--> $DIR/future-proofing-locals.rs:38:17
|
2019-03-09 06:03:44 -06:00
LL | use x;
| ^
error: imports cannot refer to type parameters
--> $DIR/future-proofing-locals.rs:46:10
|
2019-03-09 06:03:44 -06:00
LL | use {T as _, x};
| ^
error: imports cannot refer to local variables
--> $DIR/future-proofing-locals.rs:46:18
|
2019-03-09 06:03:44 -06:00
LL | use {T as _, x};
| ^
error: aborting due to 9 previous errors