diff options
| author | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-09-01 16:35:53 +0200 |
|---|---|---|
| committer | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-09-01 16:35:53 +0200 |
| commit | 47e6b5deed5cc79c677def8d1a165658fa79d810 (patch) | |
| tree | fe0d774466eaa37667d6fffbee6ab644854098cc /compiler/rustc_passes/src/errors.rs | |
| parent | 1a1cc050d8efc906ede39f444936ade1fdc9c6cb (diff) | |
| download | rust-47e6b5deed5cc79c677def8d1a165658fa79d810.tar.gz rust-47e6b5deed5cc79c677def8d1a165658fa79d810.zip | |
Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"
This reverts commit acb4e8b6251f1d8da36f08e7a70fa23fc581839e, reversing changes made to 100fde5246bf56f22fb5cc85374dd841296fce0e.
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
| -rw-r--r-- | compiler/rustc_passes/src/errors.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index 1e9ab7af9be..f5d982e1a5c 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -83,15 +83,6 @@ pub(crate) struct AttrShouldBeAppliedToFn { } #[derive(Diagnostic)] -#[diag(passes_should_be_applied_to_fn_or_unit_struct)] -pub(crate) struct AttrShouldBeAppliedToFnOrUnitStruct { - #[primary_span] - pub attr_span: Span, - #[label] - pub defn_span: Span, -} - -#[derive(Diagnostic)] #[diag(passes_should_be_applied_to_fn, code = E0739)] pub(crate) struct TrackedCallerWrongLocation { #[primary_span] |
