don't depend on rustc_attr_parsing if rustc_data_structures will do

This commit is contained in:
mejrs
2025-05-09 23:16:55 +02:00
parent dcecb99176
commit 684b7b70f4
26 changed files with 61 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
//! Check that a body annotated with `#[rustc_force_inline]` will not fail to inline based on its
//! definition alone (irrespective of any specific caller).
use rustc_attr_parsing::InlineAttr;
use rustc_attr_data_structures::InlineAttr;
use rustc_hir::def_id::DefId;
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
use rustc_middle::mir::{Body, TerminatorKind};