Esteban Küber
b61570ac11
Structured suggestion for extern crate foo when foo isn't resolved in import
...
When encountering a name in an import that could have come from a crate that wasn't imported, use a structured suggestion to suggest `extern crate foo;` pointing at the right place in the crate.
When encountering `_` in an import, do not suggest `extern crate _;`.
```
error[E0432]: unresolved import `spam`
--> $DIR/import-from-missing-star-3.rs:2:9
|
LL | use spam::*;
| ^^^^ maybe a missing crate `spam`?
|
help: consider importing the `spam` crate
|
LL + extern crate spam;
|
```
2024-07-29 23:49:51 +00:00
..
2024-03-07 21:40:11 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-14 13:32:54 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-24 21:03:27 +00:00
2024-07-29 23:49:51 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-29 23:49:51 +00:00
2024-02-16 20:02:50 +00:00
2024-07-06 19:22:05 +00:00
2024-05-13 15:11:28 +02:00
2024-05-13 15:11:28 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-04-15 21:05:15 -04:00
2024-04-15 21:05:15 -04:00
2024-07-06 19:22:05 +00:00
2024-04-21 15:43:43 -03:00
2024-07-22 22:51:53 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-06-13 20:22:21 +00:00
2024-07-18 18:20:35 +00:00
2024-02-16 20:02:50 +00:00
2024-07-18 18:20:35 +00:00
2024-06-13 20:22:21 +00:00
2024-06-13 20:22:21 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-18 16:08:58 +00:00
2024-06-13 20:22:21 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-23 01:26:24 +02:00
2024-02-16 20:02:50 +00:00
2024-07-06 19:22:05 +00:00
2024-02-16 20:02:50 +00:00
2024-06-13 20:22:21 +00:00
2024-02-16 20:02:50 +00:00
2024-07-24 21:03:27 +00:00
2024-07-29 23:49:51 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-29 11:05:40 +11:00
2024-02-29 11:05:40 +11:00
2024-02-29 11:05:40 +11:00
2024-02-29 11:05:40 +11:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-14 09:54:42 +08:00
2024-03-14 09:54:42 +08:00
2024-03-14 09:54:42 +08:00
2024-02-16 20:02:50 +00:00
2024-07-26 10:51:55 +08:00
2024-07-26 10:51:55 +08:00
2024-02-16 20:02:50 +00:00
2024-07-11 12:23:44 +10:00
2024-03-20 09:49:57 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-06-20 19:59:27 +08:00
2024-06-20 19:59:27 +08:00
2024-02-16 20:02:50 +00:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2024-03-14 13:32:54 -04:00
2024-07-18 18:20:35 +00:00
2024-02-16 20:02:50 +00:00
2024-07-11 12:23:44 +10:00
2024-03-20 09:49:57 +00:00
2024-07-29 23:49:51 +00:00
2024-07-18 00:00:04 +00:00
2024-03-01 13:48:20 +00:00
2024-02-16 20:02:50 +00:00
2024-07-18 00:00:04 +00:00
2024-07-18 00:00:04 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-05 19:40:09 +00:00
2024-02-16 20:02:50 +00:00
2024-03-07 14:26:31 +00:00
2024-05-23 07:23:59 +05:30
2024-05-23 07:23:59 +05:30
2024-02-16 20:02:50 +00:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2024-02-16 20:02:50 +00:00
2024-07-06 19:22:05 +00:00
2024-02-22 18:05:28 +00:00
2024-07-06 19:22:05 +00:00
2024-03-14 09:54:42 +08:00
2024-03-14 09:54:42 +08:00
2024-03-14 09:54:42 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00