diff options
| author | bors <bors@rust-lang.org> | 2024-06-07 06:49:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-07 06:49:55 +0000 |
| commit | 468310ea0cdec87460b83710a3a78825bcae73c5 (patch) | |
| tree | 1dac4c134ac4b819b6d34f908886f94c9d2f1f46 /compiler/rustc_parse/src/errors.rs | |
| parent | b74702fbb2a2bd56b39849d66bd59a453ed8c89e (diff) | |
| parent | 9436304871dc3ec411f14cbed68f418d2ed48a90 (diff) | |
| download | rust-468310ea0cdec87460b83710a3a78825bcae73c5.tar.gz rust-468310ea0cdec87460b83710a3a78825bcae73c5.zip | |
Auto merge of #126108 - workingjubilee:rollup-g7m92b6, r=workingjubilee
Rollup of 7 pull requests Successful merges: - #125606 (Size optimize int formatting) - #125724 (Uplift `Relate`/`TypeRelation` into `rustc_next_trait_solver`) - #126040 (Don't warn on fields in the `unreachable_pub` lint ) - #126098 (Remove `same-lib-two-locations-no-panic` run-make test) - #126099 (Crate loader cleanups) - #126101 (Revert "Disallow ambiguous attributes on expressions" on nightly) - #126103 (Improve Docs for `hir::Impl` and `hir::ImplItem`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 9 |
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] |
