diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-06-06 21:52:16 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-06-06 22:00:26 -0700 |
| commit | f66487b669a5b8ba0169af6c48d0fadaa06a57a9 (patch) | |
| tree | 37b7a2b7639052beee8f2d57b5631531ffdc87db | |
| parent | 8aafcc8021fe2ff3a4c986a8f388120589221e9a (diff) | |
| download | rust-f66487b669a5b8ba0169af6c48d0fadaa06a57a9.tar.gz rust-f66487b669a5b8ba0169af6c48d0fadaa06a57a9.zip | |
compiler: Remove superfluous renaming import of ExternAbi
| -rw-r--r-- | compiler/rustc_abi/src/extern_abi.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_abi/src/extern_abi.rs b/compiler/rustc_abi/src/extern_abi.rs index 75bfcff4462..0bc1c8a0930 100644 --- a/compiler/rustc_abi/src/extern_abi.rs +++ b/compiler/rustc_abi/src/extern_abi.rs @@ -12,8 +12,6 @@ use crate::AbiFromStrErr; #[cfg(test)] mod tests; -use ExternAbi as Abi; - /// ABI we expect to see within `extern "{abi}"` #[derive(Clone, Copy, Debug)] #[cfg_attr(feature = "nightly", derive(Encodable, Decodable))] @@ -253,7 +251,7 @@ pub fn all_names() -> Vec<&'static str> { impl ExternAbi { /// Default ABI chosen for `extern fn` declarations without an explicit ABI. - pub const FALLBACK: Abi = Abi::C { unwind: false }; + pub const FALLBACK: ExternAbi = ExternAbi::C { unwind: false }; pub fn name(self) -> &'static str { self.as_str() |
