Skip to content

Commit e8426a6

Browse files
committed
Remove unnecessary abi import
1 parent c825c74 commit e8426a6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/rustc_typeck/src/check/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub(super) fn check_fn<'a, 'tcx>(
9494

9595
fn_maybe_err(tcx, span, fn_sig.abi);
9696

97-
if fn_sig.abi == abi::Abi::RustCall {
97+
if fn_sig.abi == Abi::RustCall {
9898
let expected_args = if let ImplicitSelfKind::None = decl.implicit_self { 1 } else { 2 };
9999

100100
let err = || {

compiler/rustc_typeck/src/check/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ use crate::util::common::indenter;
137137

138138
use self::coercion::DynamicCoerceMany;
139139
pub use self::Expectation::*;
140-
use rustc_target::spec::abi;
141140

142141
#[macro_export]
143142
macro_rules! type_error_struct {

0 commit comments

Comments
 (0)