Skip to content

Commit eb2bae3

Browse files
committed
Bless rustdoc-ui differences
These changed in the stable backport because we don't have the rewording that came in rust-lang#133154.
1 parent 23322f3 commit eb2bae3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/rustdoc-ui/doctest/failed-doctest-test-crate.edition2015.stdout

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ error[E0432]: unresolved import `test`
99
--> $DIR/failed-doctest-test-crate.rs:15:5
1010
|
1111
LL | use test::*;
12-
| ^^^^ use of unresolved module or unlinked crate `test`
12+
| ^^^^ you might be missing crate `test`
1313
|
14-
help: you might be missing a crate named `test`, add it to your project and import it in your code
14+
help: consider importing the `test` crate
1515
|
1616
LL + extern crate test;
1717
|

tests/rustdoc-ui/doctest/failed-doctest-test-crate.edition2024.stdout

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ error[E0432]: unresolved import `test`
99
--> $DIR/failed-doctest-test-crate.rs:15:5
1010
|
1111
LL | use test::*;
12-
| ^^^^ use of unresolved module or unlinked crate `test`
13-
|
14-
= help: you might be missing a crate named `test`
12+
| ^^^^ use of undeclared crate or module `test`
1513

1614
error: aborting due to 1 previous error
1715

0 commit comments

Comments
 (0)