about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2025-06-28 16:31:38 -0400
committerAntoni Boucher <bouanto@zoho.com>2025-06-28 16:31:38 -0400
commita80f3c4a84b8bbb5b72f95acc63e09d8124ab6bd (patch)
treed40ae9cf02ff6fbf48aad8276e7cc2cf5ca43194
parenta836612ab05af7f0c786acaaebbd756af676e36c (diff)
downloadrust-a80f3c4a84b8bbb5b72f95acc63e09d8124ab6bd.tar.gz
rust-a80f3c4a84b8bbb5b72f95acc63e09d8124ab6bd.zip
Fix clippy warnings
-rw-r--r--src/abi.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/abi.rs b/src/abi.rs
index 08f3d281904..0b359f1c5c8 100644
--- a/src/abi.rs
+++ b/src/abi.rs
@@ -1,7 +1,9 @@
 #[cfg(feature = "master")]
 use gccjit::FnAttribute;
 use gccjit::{ToLValue, ToRValue, Type};
-use rustc_abi::{ArmCall, CanonAbi, InterruptKind, Reg, RegKind, X86Call};
+#[cfg(feature = "master")]
+use rustc_abi::{ArmCall, CanonAbi, InterruptKind, X86Call};
+use rustc_abi::{Reg, RegKind};
 use rustc_codegen_ssa::traits::{AbiBuilderMethods, BaseTypeCodegenMethods};
 use rustc_data_structures::fx::FxHashSet;
 use rustc_middle::bug;