summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/remove-extern-crate.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /tests/ui/rust-2018/remove-extern-crate.stderr
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/rust-2018/remove-extern-crate.stderr')
-rw-r--r--tests/ui/rust-2018/remove-extern-crate.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/rust-2018/remove-extern-crate.stderr b/tests/ui/rust-2018/remove-extern-crate.stderr
index d07358e47..f752cac8e 100644
--- a/tests/ui/rust-2018/remove-extern-crate.stderr
+++ b/tests/ui/rust-2018/remove-extern-crate.stderr
@@ -1,5 +1,5 @@
warning: unused extern crate
- --> $DIR/remove-extern-crate.rs:9:1
+ --> $DIR/remove-extern-crate.rs:10:1
|
LL | extern crate core;
| ^^^^^^^^^^^^^^^^^^ help: remove it
@@ -12,7 +12,7 @@ LL | #![warn(rust_2018_idioms)]
= note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]`
warning: `extern crate` is not idiomatic in the new edition
- --> $DIR/remove-extern-crate.rs:33:5
+ --> $DIR/remove-extern-crate.rs:34:5
|
LL | extern crate core;
| ^^^^^^^^^^^^^^^^^^
@@ -23,7 +23,7 @@ LL | use core;
| ~~~
warning: `extern crate` is not idiomatic in the new edition
- --> $DIR/remove-extern-crate.rs:43:5
+ --> $DIR/remove-extern-crate.rs:44:5
|
LL | pub extern crate core;
| ^^^^^^^^^^^^^^^^^^^^^^