Rollup merge of #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve-use-crate, r=estebank
Suggest `extern crate foo` when failing to resolve `use foo` closes #97095 r? ``@estebank``
This commit is contained in:
commit
daedae7b23
26 changed files with 94 additions and 8 deletions
|
|
@ -3,6 +3,8 @@ error[E0432]: unresolved import `something`
|
|||
|
|
||||
LL | use something::Foo;
|
||||
| ^^^^^^^^^ maybe a missing crate `something`?
|
||||
|
|
||||
= help: consider adding `extern crate something` to use the `something` crate
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue