]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-consts/issue-93835.stderr
add tests for 107090
[rust.git] / tests / ui / associated-consts / issue-93835.stderr
1 error[E0425]: cannot find value `p` in this scope
2   --> $DIR/issue-93835.rs:4:19
3    |
4 LL |     type_ascribe!(p, a<p:p<e=6>>);
5    |                   ^ not found in this scope
6
7 error[E0412]: cannot find type `a` in this scope
8   --> $DIR/issue-93835.rs:4:22
9    |
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
15    |
16 LL |     type_ascribe!(p, a<p:p<e=6>>);
17    |                          ^ not found in this scope
18
19 error[E0658]: associated const equality is incomplete
20   --> $DIR/issue-93835.rs:4:28
21    |
22 LL |     type_ascribe!(p, a<p:p<e=6>>);
23    |                            ^^^
24    |
25    = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
26    = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
27
28 error[E0658]: associated type bounds are unstable
29   --> $DIR/issue-93835.rs:4:24
30    |
31 LL |     type_ascribe!(p, a<p:p<e=6>>);
32    |                        ^^^^^^^^
33    |
34    = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
35    = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
36
37 error: aborting due to 5 previous errors
38
39 Some errors have detailed explanations: E0405, E0412, E0425, E0658.
40 For more information about an error, try `rustc --explain E0405`.