Skip to content

Commit 9e5e0f8

Browse files
committed
Improved imports
1 parent a2b63af commit 9e5e0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/implicit_return.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use rustc::{
1010
lint::{LateContext, LateLintPass, LintArray, LintPass},
1111
};
1212
use rustc_errors::Applicability;
13-
use syntax_pos::Span;
13+
use syntax::source_map::Span;
1414

1515
declare_clippy_lint! {
1616
/// **What it does:** Checks for missing return statements at the end of a block.
@@ -138,7 +138,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitReturn {
138138
_: FnKind<'tcx>,
139139
_: &'tcx FnDecl,
140140
body: &'tcx Body,
141-
span: syntax::source_map::Span,
141+
span: Span,
142142
_: HirId,
143143
) {
144144
let def_id = cx.tcx.hir().body_owner_def_id(body.id());

0 commit comments

Comments
 (0)