Skip to content

Commit ddf9aa9

Browse files
author
Ype Kingma
committed
Another cargo dev fmt
1 parent 1c65bda commit ddf9aa9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clippy_lints/src/lifetimes_bound_nested_ref.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ use rustc_span::symbol::Ident;
1111
use rustc_span::{Span, Symbol};
1212
use std::collections::BTreeMap;
1313
use std::collections::btree_map::Entry;
14-
15-
extern crate rustc_hash;
16-
use rustc_hash::FxHashMap;
17-
1814
/// Lints to help dealing with unsoundness due to a compiler bug described here:
1915
/// <https://github.com/rust-lang/rustc-dev-guide/blob/478a77a902f64e5128e7164e4e8a3980cfe4b133/src/traits/implied-bounds.md>.
2016
///
@@ -36,6 +32,8 @@ use rustc_hash::FxHashMap;
3632
/// There is also a reverse lint that suggests to remove lifetime bounds
3733
/// that are implied by nested references. This reverse lint is intended to be used only
3834
/// when the compiler has been fixed to handle these lifetime bounds correctly.
35+
extern crate rustc_hash;
36+
use rustc_hash::FxHashMap;
3937

4038
declare_clippy_lint! {
4139
/// ### What it does

0 commit comments

Comments
 (0)