update UI test

This commit is contained in:
Jorge Aparicio 2018-09-06 23:01:35 +02:00
parent 9b764c3190
commit 6c4f3f512e
2 changed files with 9 additions and 9 deletions

View file

@ -16,12 +16,12 @@
#![warn(rust_2018_idioms)]
#![allow(unused_imports)]
extern crate std as foo;
extern crate removing_extern_crate as foo;
extern crate core;
mod another {
extern crate std as foo;
extern crate std;
extern crate removing_extern_crate as foo;
extern crate core;
}
fn main() {}

View file

@ -1,8 +1,8 @@
warning: unused extern crate
--> $DIR/removing-extern-crate.rs:19:1
|
LL | extern crate std as foo;
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
LL | extern crate removing_extern_crate as foo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
note: lint level defined here
--> $DIR/removing-extern-crate.rs:16:9
@ -20,12 +20,12 @@ LL | extern crate core;
warning: unused extern crate
--> $DIR/removing-extern-crate.rs:23:5
|
LL | extern crate std as foo;
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
LL | extern crate removing_extern_crate as foo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
warning: unused extern crate
--> $DIR/removing-extern-crate.rs:24:5
|
LL | extern crate std;
| ^^^^^^^^^^^^^^^^^ help: remove it
LL | extern crate core;
| ^^^^^^^^^^^^^^^^^^ help: remove it