]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-path-shl.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / associated-path-shl.stderr
1 error[E0412]: cannot find type `A` in this scope
2   --> $DIR/associated-path-shl.rs:14:14
3    |
4 LL |     let _: <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
5    |              ^ not found in this scope
6
7 error[E0412]: cannot find type `A` in this scope
8   --> $DIR/associated-path-shl.rs:15:15
9    |
10 LL |     let _ = <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
11    |               ^ not found in this scope
12
13 error[E0412]: cannot find type `A` in this scope
14   --> $DIR/associated-path-shl.rs:16:11
15    |
16 LL |     let <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
17    |           ^ not found in this scope
18
19 error[E0412]: cannot find type `A` in this scope
20   --> $DIR/associated-path-shl.rs:17:17
21    |
22 LL |     let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
23    |                 ^ not found in this scope
24
25 error[E0412]: cannot find type `A` in this scope
26   --> $DIR/associated-path-shl.rs:19:7
27    |
28 LL |     <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
29    |       ^ not found in this scope
30
31 error[E0029]: only char and numeric types are allowed in range patterns
32   --> $DIR/associated-path-shl.rs:17:15
33    |
34 LL |     let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
35    |               ^^^^^^^^^^^ ranges require char or numeric types
36    |
37    = note: start type: {integer}
38    = note: end type: [type error]
39
40 error: aborting due to 6 previous errors
41
42 Some errors occurred: E0029, E0412.
43 For more information about an error, try `rustc --explain E0029`.