mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Apply cargo fix --edition-idioms fixes
This commit is contained in:
parent
a7fe5afc2e
commit
0edb49792f
4 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
#![feature(test)]
|
||||
|
||||
extern crate compiletest_rs as compiletest;
|
||||
use compiletest_rs as compiletest;
|
||||
extern crate test;
|
||||
|
||||
use std::env::{set_var, var};
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate clippy_lints;
|
||||
use clippy_lints;
|
||||
extern crate syntax;
|
||||
use std::collections::Bound;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
// Tests for the various helper functions used by the needless_continue
|
||||
// lint that don't belong in utils.
|
||||
|
||||
extern crate clippy_lints;
|
||||
|
||||
use clippy_lints::needless_continue::{erode_block, erode_from_back, erode_from_front};
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
extern crate cargo_metadata;
|
||||
extern crate semver;
|
||||
use cargo_metadata;
|
||||
|
||||
use semver::VersionReq;
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue