We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aafcc8 commit f66487bCopy full SHA for f66487b
compiler/rustc_abi/src/extern_abi.rs
@@ -12,8 +12,6 @@ use crate::AbiFromStrErr;
12
#[cfg(test)]
13
mod tests;
14
15
-use ExternAbi as Abi;
16
-
17
/// ABI we expect to see within `extern "{abi}"`
18
#[derive(Clone, Copy, Debug)]
19
#[cfg_attr(feature = "nightly", derive(Encodable, Decodable))]
@@ -253,7 +251,7 @@ pub fn all_names() -> Vec<&'static str> {
253
251
254
252
impl ExternAbi {
255
/// Default ABI chosen for `extern fn` declarations without an explicit ABI.
256
- pub const FALLBACK: Abi = Abi::C { unwind: false };
+ pub const FALLBACK: ExternAbi = ExternAbi::C { unwind: false };
257
258
pub fn name(self) -> &'static str {
259
self.as_str()
0 commit comments