]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-assoc-const-constraint.stderr
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.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`.