]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/issue-93835.stderr
unboxed-closures and type-alias-impl-trait nll revisions
[rust.git] / src / test / ui / associated-consts / issue-93835.stderr
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 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 LL |
23 LL |
24 LL |
25 LL |
26  ...
27 help: maybe you meant to write a path separator here
28    |
29 LL |     p::a<p:p<e=6>>
30    |      ~~
31 help: maybe you meant to write an assignment here
32    |
33 LL |     let p:a<p:p<e=6>>
34    |     ~~~~~
35
36 error[E0658]: associated const equality is incomplete
37   --> $DIR/issue-93835.rs:2:13
38    |
39 LL |     p:a<p:p<e=6>>
40    |             ^^^
41    |
42    = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
43    = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
44
45 error[E0658]: associated const equality is incomplete
46   --> $DIR/issue-93835.rs:2:13
47    |
48 LL |     p:a<p:p<e=6>>
49    |             ^^^
50    |
51    = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
52    = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
53
54 error[E0658]: associated type bounds are unstable
55   --> $DIR/issue-93835.rs:2:9
56    |
57 LL |     p:a<p:p<e=6>>
58    |         ^^^^^^^^
59    |
60    = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
61    = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
62
63 error: aborting due to 5 previous errors
64
65 Some errors have detailed explanations: E0425, E0658.
66 For more information about an error, try `rustc --explain E0425`.