You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes about tests:
- tests/ui/parser/macro/trait-object-macro-matcher.rs: the syntax error
is duplicated, because it occurs now when parsing the decl macro
input, and also when parsing the expanded decl macro. But this won't
show up for normal users due to error de-duplication.
- tests/ui/associated-consts/issue-93835.rs: similar, plus there are
some additional errors about this very broken code.
- The changes to metavariable descriptions in rust-lang#132629 are now visible in
error message for several tests.
Copy file name to clipboardExpand all lines: tests/ui/associated-consts/issue-93835.stderr
+31-6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,15 @@
1
+
error: path separator must be a double colon
2
+
--> $DIR/issue-93835.rs:4:25
3
+
|
4
+
LL | type_ascribe!(p, a<p:p<e=6>>);
5
+
| ^
6
+
|
7
+
= note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
8
+
help: use a double colon instead
9
+
|
10
+
LL | type_ascribe!(p, a<p::p<e=6>>);
11
+
| +
12
+
1
13
error[E0425]: cannot find value `p` in this scope
2
14
--> $DIR/issue-93835.rs:4:19
3
15
|
@@ -10,11 +22,15 @@ error[E0412]: cannot find type `a` in this scope
10
22
LL | type_ascribe!(p, a<p:p<e=6>>);
11
23
| ^ not found in this scope
12
24
13
-
error[E0405]: cannot find trait `p` in this scope
14
-
--> $DIR/issue-93835.rs:4:26
25
+
error[E0658]: associated const equality is incomplete
26
+
--> $DIR/issue-93835.rs:4:28
15
27
|
16
28
LL | type_ascribe!(p, a<p:p<e=6>>);
17
-
| ^ not found in this scope
29
+
| ^^^
30
+
|
31
+
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
32
+
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
33
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
18
34
19
35
error[E0658]: associated const equality is incomplete
0 commit comments