Port #[panic_handler] to the new attribute parsers

This commit is contained in:
Jonathan Brouwer 2026-02-13 12:43:02 +00:00
parent c61c2603cf
commit ee8ca0a89f
3 changed files with 11 additions and 1 deletions

View file

@ -8,7 +8,7 @@
//! * Functions called by the compiler itself.
use rustc_ast as ast;
use rustc_ast::fmvisit;
use rustc_ast::visit;
use rustc_data_structures::fx::FxHashMap;
use rustc_hir::def_id::{DefId, LocalDefId};
use rustc_hir::lang_items::GenericRequirement;