about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2024-06-06 20:39:54 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2024-06-06 20:39:54 +0000
commit216424da32db1bf0d224b97ff3d0424622c97c4c (patch)
tree15e79fd69aacc97b61979ad5a7bc8d320d123de2 /compiler/rustc_parse/src/errors.rs
parente1ac0fa95ba15221ee195647cb12464df3164513 (diff)
downloadrust-216424da32db1bf0d224b97ff3d0424622c97c4c.tar.gz
rust-216424da32db1bf0d224b97ff3d0424622c97c4c.zip
Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"
This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing
changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
-rw-r--r--compiler/rustc_parse/src/errors.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs
index 3f08a830b0c..6c1fcbe06fc 100644
--- a/compiler/rustc_parse/src/errors.rs
+++ b/compiler/rustc_parse/src/errors.rs
@@ -496,15 +496,6 @@ pub(crate) struct OuterAttributeNotAllowedOnIfElse {
 }
 
 #[derive(Diagnostic)]
-#[diag(parse_outer_attr_ambiguous)]
-pub(crate) struct AmbiguousOuterAttributes {
-    #[primary_span]
-    pub span: Span,
-    #[subdiagnostic]
-    pub sugg: WrapInParentheses,
-}
-
-#[derive(Diagnostic)]
 #[diag(parse_missing_in_in_for_loop)]
 pub(crate) struct MissingInInForLoop {
     #[primary_span]