Skip to content

Commit 6ad26a1

Browse files
committed
Update tests
1 parent 68af421 commit 6ad26a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/rustdoc-ui/ice-unresolved-import-100241.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0432]: unresolved import `inner`
44
LL | pub use inner::S;
55
| ^^^^^ use of unresolved module or unlinked crate `inner`
66
|
7-
help: if you wanted to use a crate named `inner`, use `cargo add inner` to add it to your `Cargo.toml` and import it in your code
7+
help: you might be missing a crate named `inner`, add it to your project and import it in your code
88
|
99
LL + extern crate inner;
1010
|

tests/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unr
44
LL | use unresolved_crate::module::Name;
55
| ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `unresolved_crate`
66
|
7-
help: if you wanted to use a crate named `unresolved_crate`, use `cargo add unresolved_crate` to add it to your `Cargo.toml` and import it in your code
7+
help: you might be missing a crate named `unresolved_crate`, add it to your project and import it in your code
88
|
99
LL + extern crate unresolved_crate;
1010
|

tests/rustdoc-ui/issues/issue-61732.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `r#m
44
LL | pub(in crate::r#mod) fn main() {}
55
| ^^^^^ use of unresolved module or unlinked crate `r#mod`
66
|
7-
help: if you wanted to use a crate named `r#mod`, use `cargo add r#mod` to add it to your `Cargo.toml` and import it in your code
7+
help: you might be missing a crate named `r#mod`, add it to your project and import it in your code
88
|
99
LL + extern crate r#mod;
1010
|

0 commit comments

Comments
 (0)