|
1 |
| -error: comparison operators cannot be chained |
2 |
| - --> $DIR/issue-93835.rs:2:8 |
3 |
| - | |
4 |
| -LL | fn e() { |
5 |
| - | - while parsing this struct |
6 |
| -LL | p:a<p:p<e=6>> |
7 |
| - | ^ ^ |
8 |
| - | |
9 |
| - = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments |
10 |
| - = help: or use `(...)` if you meant to specify fn arguments |
11 |
| - |
12 | 1 | error[E0425]: cannot find value `p` in this scope
|
13 |
| - --> $DIR/issue-93835.rs:2:5 |
14 |
| - | |
15 |
| -LL | p:a<p:p<e=6>> |
16 |
| - | ^ not found in this scope |
17 |
| - | |
18 |
| -help: you might have meant to write a `struct` literal |
19 |
| - | |
20 |
| -LL ~ fn e() { SomeStruct { |
21 |
| -LL | p:a<p:p<e=6>> |
22 |
| - ... |
23 |
| -LL | |
24 |
| -LL ~ }} |
| 2 | + --> $DIR/issue-93835.rs:4:19 |
25 | 3 | |
|
26 |
| -help: maybe you meant to write a path separator here |
27 |
| - | |
28 |
| -LL | p::a<p:p<e=6>> |
29 |
| - | ~~ |
30 |
| -help: maybe you meant to write an assignment here |
31 |
| - | |
32 |
| -LL | let p:a<p:p<e=6>> |
33 |
| - | ~~~~~ |
| 4 | +LL | type_ascribe!(p, a<p:p<e=6>>); |
| 5 | + | ^ not found in this scope |
34 | 6 |
|
35 |
| -error[E0658]: associated const equality is incomplete |
36 |
| - --> $DIR/issue-93835.rs:2:13 |
| 7 | +error[E0412]: cannot find type `a` in this scope |
| 8 | + --> $DIR/issue-93835.rs:4:22 |
37 | 9 | |
|
38 |
| -LL | p:a<p:p<e=6>> |
39 |
| - | ^^^ |
| 10 | +LL | type_ascribe!(p, a<p:p<e=6>>); |
| 11 | + | ^ not found in this scope |
| 12 | + |
| 13 | +error[E0405]: cannot find trait `p` in this scope |
| 14 | + --> $DIR/issue-93835.rs:4:26 |
40 | 15 | |
|
41 |
| - = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information |
42 |
| - = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable |
| 16 | +LL | type_ascribe!(p, a<p:p<e=6>>); |
| 17 | + | ^ not found in this scope |
43 | 18 |
|
44 | 19 | error[E0658]: associated const equality is incomplete
|
45 |
| - --> $DIR/issue-93835.rs:2:13 |
| 20 | + --> $DIR/issue-93835.rs:4:28 |
46 | 21 | |
|
47 |
| -LL | p:a<p:p<e=6>> |
48 |
| - | ^^^ |
| 22 | +LL | type_ascribe!(p, a<p:p<e=6>>); |
| 23 | + | ^^^ |
49 | 24 | |
|
50 | 25 | = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
|
51 | 26 | = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
|
52 | 27 |
|
53 | 28 | error[E0658]: associated type bounds are unstable
|
54 |
| - --> $DIR/issue-93835.rs:2:9 |
| 29 | + --> $DIR/issue-93835.rs:4:24 |
55 | 30 | |
|
56 |
| -LL | p:a<p:p<e=6>> |
57 |
| - | ^^^^^^^^ |
| 31 | +LL | type_ascribe!(p, a<p:p<e=6>>); |
| 32 | + | ^^^^^^^^ |
58 | 33 | |
|
59 | 34 | = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
|
60 | 35 | = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
|
61 | 36 |
|
62 | 37 | error: aborting due to 5 previous errors
|
63 | 38 |
|
64 |
| -Some errors have detailed explanations: E0425, E0658. |
65 |
| -For more information about an error, try `rustc --explain E0425`. |
| 39 | +Some errors have detailed explanations: E0405, E0412, E0425, E0658. |
| 40 | +For more information about an error, try `rustc --explain E0405`. |
0 commit comments