diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2023-10-25 09:38:37 +0000 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2023-10-25 10:10:13 +0000 |
| commit | dc3d428a8a4771342fb76a4c7fa83569ac05c433 (patch) | |
| tree | 00a569298eabf0e8f75863a588e684f48da5ab93 /compiler/rustc_mir_build/src/errors.rs | |
| parent | 98108dc26cb3f73f29c07b03ab75540545f3b481 (diff) | |
| download | rust-dc3d428a8a4771342fb76a4c7fa83569ac05c433.tar.gz rust-dc3d428a8a4771342fb76a4c7fa83569ac05c433.zip | |
Make THIR unused_unsafe lint consistent with MIR
Updates THIR behavior to match the changes from #93678
Diffstat (limited to 'compiler/rustc_mir_build/src/errors.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/errors.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_mir_build/src/errors.rs b/compiler/rustc_mir_build/src/errors.rs index c09dd186418..730670a8369 100644 --- a/compiler/rustc_mir_build/src/errors.rs +++ b/compiler/rustc_mir_build/src/errors.rs @@ -392,11 +392,6 @@ pub enum UnusedUnsafeEnclosing { #[primary_span] span: Span, }, - #[label(mir_build_unused_unsafe_enclosing_fn_label)] - Function { - #[primary_span] - span: Span, - }, } pub(crate) struct NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm> { |
