]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rust-2018/future-proofing-locals.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / rust-2018 / future-proofing-locals.stderr
1 error: imports cannot refer to type parameters
2 --> $DIR/future-proofing-locals.rs:14:9
3 |
4 LL | use T as _;
5 | ^
6
7 error: imports cannot refer to type parameters
8 --> $DIR/future-proofing-locals.rs:15:9
9 |
10 LL | use T::U;
11 | ^
12
13 error: imports cannot refer to type parameters
14 --> $DIR/future-proofing-locals.rs:16:9
15 |
16 LL | use T::*;
17 | ^
18
19 error: imports cannot refer to type parameters
20 --> $DIR/future-proofing-locals.rs:20:9
21 |
22 LL | use T;
23 | ^
24
25 error: imports cannot refer to local variables
26 --> $DIR/future-proofing-locals.rs:26:9
27 |
28 LL | use x as _;
29 | ^
30
31 error: imports cannot refer to local variables
32 --> $DIR/future-proofing-locals.rs:32:9
33 |
34 LL | use x;
35 | ^
36
37 error: imports cannot refer to local variables
38 --> $DIR/future-proofing-locals.rs:38:17
39 |
40 LL | use x;
41 | ^
42
43 error: imports cannot refer to type parameters
44 --> $DIR/future-proofing-locals.rs:46:10
45 |
46 LL | use {T as _, x};
47 | ^
48
49 error: imports cannot refer to local variables
50 --> $DIR/future-proofing-locals.rs:46:18
51 |
52 LL | use {T as _, x};
53 | ^
54
55 error: aborting due to 9 previous errors
56