rust/tests/ui/associated-consts/issue-93835.stderr

41 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-02-10 10:00:54 -06:00
error[E0425]: cannot find value `p` in this scope
--> $DIR/issue-93835.rs:4:19
2022-06-06 10:26:50 -05:00
|
LL | type_ascribe!(p, a<p:p<e=6>>);
| ^ not found in this scope
2022-02-10 10:00:54 -06:00
error[E0412]: cannot find type `a` in this scope
--> $DIR/issue-93835.rs:4:22
2022-02-10 10:00:54 -06:00
|
LL | type_ascribe!(p, a<p:p<e=6>>);
| ^ not found in this scope
error[E0405]: cannot find trait `p` in this scope
--> $DIR/issue-93835.rs:4:26
2022-02-10 10:00:54 -06:00
|
LL | type_ascribe!(p, a<p:p<e=6>>);
| ^ not found in this scope
2022-02-10 10:00:54 -06:00
error[E0658]: associated const equality is incomplete
--> $DIR/issue-93835.rs:4:28
2022-02-10 10:00:54 -06:00
|
LL | type_ascribe!(p, a<p:p<e=6>>);
| ^^^
2022-02-10 10:00:54 -06:00
|
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
error[E0658]: associated type bounds are unstable
--> $DIR/issue-93835.rs:4:24
2022-02-10 10:00:54 -06:00
|
LL | type_ascribe!(p, a<p:p<e=6>>);
| ^^^^^^^^
2022-02-10 10:00:54 -06:00
|
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
error: aborting due to 5 previous errors
Some errors have detailed explanations: E0405, E0412, E0425, E0658.
For more information about an error, try `rustc --explain E0405`.