File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 1
1
error[E0432]: unresolved import `test`
2
- --> $DIR/issue-37887.rs:3 :9
2
+ --> $DIR/issue-37887.rs:7 :9
3
3
|
4
4
LL | use test::*;
5
5
| ^^^^ use of unresolved module or unlinked crate `test`
@@ -10,7 +10,7 @@ LL + extern crate test;
10
10
|
11
11
12
12
error[E0658]: use of unstable library feature `test`
13
- --> $DIR/issue-37887.rs:2 :5
13
+ --> $DIR/issue-37887.rs:6 :5
14
14
|
15
15
LL | extern crate test;
16
16
| ^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change
1
+ error[E0658]: use of unstable library feature `test`
2
+ --> $DIR/issue-37887.rs:6:5
3
+ |
4
+ LL | extern crate test;
5
+ | ^^^^^^^^^^^^^^^^^^
6
+ |
7
+ = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
8
+ = help: add `#![feature(test)]` to the crate attributes to enable
9
+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
+
11
+ error[E0658]: use of unstable library feature `test`
12
+ --> $DIR/issue-37887.rs:7:9
13
+ |
14
+ LL | use test::*;
15
+ | ^^^^
16
+ |
17
+ = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
18
+ = help: add `#![feature(test)]` to the crate attributes to enable
19
+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
+
21
+ error: aborting due to 2 previous errors
22
+
23
+ For more information about this error, try `rustc --explain E0658`.
Original file line number Diff line number Diff line change
1
+ //@ revisions: edition2015 edition2021
2
+ //@[edition2015] edition: 2015
3
+ //@[edition2021] edition: 2021
4
+ //
1
5
fn main ( ) {
2
6
extern crate test; //~ ERROR use of unstable
3
- use test:: * ; //~ ERROR unresolved import
7
+ use test:: * ; //[edition2015]~ ERROR unresolved import
8
+ //[edition2021]~^ ERROR use of unstable
4
9
}
You can’t perform that action at this time.
0 commit comments