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
Rollup merge of #139341 - nnethercote:fix-137874, r=petrochenkov
Apply `Recovery::Forbidden` when reparsing pasted macro fragments.
Fixes#137874.
The changes to the output of `tests/ui/associated-consts/issue-93835.rs`
partly undo the changes seen when `NtTy` was removed in #133436, which
is good.
r? ``@petrochenkov``
= 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
-
13
1
error[E0425]: cannot find value `p` in this scope
14
2
--> $DIR/issue-93835.rs:4:19
15
3
|
@@ -22,6 +10,12 @@ error[E0412]: cannot find type `a` in this scope
22
10
LL | type_ascribe!(p, a<p:p<e=6>>);
23
11
| ^ not found in this scope
24
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
+
25
19
error[E0658]: associated const equality is incomplete
0 commit comments