We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c825c74 commit e8426a6Copy full SHA for e8426a6
compiler/rustc_typeck/src/check/check.rs
@@ -94,7 +94,7 @@ pub(super) fn check_fn<'a, 'tcx>(
94
95
fn_maybe_err(tcx, span, fn_sig.abi);
96
97
- if fn_sig.abi == abi::Abi::RustCall {
+ if fn_sig.abi == Abi::RustCall {
98
let expected_args = if let ImplicitSelfKind::None = decl.implicit_self { 1 } else { 2 };
99
100
let err = || {
compiler/rustc_typeck/src/check/mod.rs
@@ -137,7 +137,6 @@ use crate::util::common::indenter;
137
138
use self::coercion::DynamicCoerceMany;
139
pub use self::Expectation::*;
140
-use rustc_target::spec::abi;
141
142
#[macro_export]
143
macro_rules! type_error_struct {
0 commit comments