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)]
|
#![feature(test)]
|
||||||
|
|
||||||
extern crate compiletest_rs as compiletest;
|
use compiletest_rs as compiletest;
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
||||||
use std::env::{set_var, var};
|
use std::env::{set_var, var};
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
|
|
||||||
extern crate clippy_lints;
|
use clippy_lints;
|
||||||
extern crate syntax;
|
extern crate syntax;
|
||||||
use std::collections::Bound;
|
use std::collections::Bound;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
// Tests for the various helper functions used by the needless_continue
|
// Tests for the various helper functions used by the needless_continue
|
||||||
// lint that don't belong in utils.
|
// lint that don't belong in utils.
|
||||||
|
|
||||||
extern crate clippy_lints;
|
|
||||||
use clippy_lints::needless_continue::{erode_block, erode_from_back, erode_from_front};
|
use clippy_lints::needless_continue::{erode_block, erode_from_back, erode_from_front};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
extern crate cargo_metadata;
|
use cargo_metadata;
|
||||||
extern crate semver;
|
|
||||||
use semver::VersionReq;
|
use semver::VersionReq;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue