Apply cargo fix --edition-idioms fixes

This commit is contained in:
Konrad Borowski 2018-12-29 17:46:25 +01:00
parent a7fe5afc2e
commit 0edb49792f
4 changed files with 5 additions and 5 deletions

View file

@ -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};

View file

@ -9,7 +9,7 @@
#![feature(rustc_private)]
extern crate clippy_lints;
use clippy_lints;
extern crate syntax;
use std::collections::Bound;

View file

@ -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]

View file

@ -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]