]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/recover-assoc-const-constraint.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / parser / recover-assoc-const-constraint.stderr
1 error[E0658]: associated const equality is incomplete
2 --> $DIR/recover-assoc-const-constraint.rs:3:11
3 |
4 LL | bar::<Item = 42>();
5 | ^^^^^^^^^
6 |
7 = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
8 = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
9
10 error[E0658]: associated const equality is incomplete
11 --> $DIR/recover-assoc-const-constraint.rs:5:11
12 |
13 LL | bar::<Item = { 42 }>();
14 | ^^^^^^^^^^^^^
15 |
16 = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
17 = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.