about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-06-08 21:41:56 +0200
committerRalf Jung <post@ralfj.de>2024-06-08 21:41:56 +0200
commit536723501a3cf7a6d62ccbe57de2d41ca0cfeefc (patch)
treedf3ed27d4157275e3d2c19792f79eea79864720a /compiler/rustc_parse/src/errors.rs
parent1ae0053d97a1efc5293aa7143376eda52f7ffb28 (diff)
parent565cadb514d35e7b851540edbc172af0f606014f (diff)
downloadrust-536723501a3cf7a6d62ccbe57de2d41ca0cfeefc.tar.gz
rust-536723501a3cf7a6d62ccbe57de2d41ca0cfeefc.zip
Merge from rustc
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]