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-05-04 11:30:38 +02:00
2024-04-16 15:19:12 +02:00
2024-02-22 16:04:04 +00:00
2024-07-18 20:08:38 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-07-29 23:49:51 +00:00
2024-07-29 23:49:51 +00:00
2024-07-04 00:40:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-02 21:22:04 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-12-21 10:17:11 +08:00
2023-12-21 10:17:11 +08:00
2024-04-15 21:49:55 +02:00
2024-04-15 21:49:56 +02:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-05-01 16:45:27 +02:00
2024-05-01 16:45:27 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-07-04 00:40:04 +00:00
2024-06-28 08:01:07 +08:00
2024-06-28 08:01:07 +08:00
2024-06-28 08:01:07 +08:00
2024-06-28 08:01:07 +08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2024-01-13 12:46:58 -05:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-07-12 18:18:30 -07:00
2024-02-22 16:04:04 +00:00
2024-04-15 15:11:49 -07:00
2024-06-03 03:50:15 +02:00
2024-02-22 16:04:04 +00:00
2024-07-11 12:23:44 +10:00
2024-04-09 13:58:52 +00:00
2024-04-15 15:11:49 -07:00
2024-07-12 18:18:30 -07:00
2024-07-12 18:18:30 -07:00
2024-07-29 23:49:51 +00:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-07-04 00:40:04 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-05-30 22:52:33 +02:00
2024-07-17 21:30:40 +00:00
2023-10-31 13:58:03 +00:00
2024-07-22 22:51:53 +00:00
2023-11-24 19:15:52 +01:00
2024-03-28 11:09:08 +01:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-02-22 16:04:04 +00:00
2024-05-30 22:52:33 +02:00
2024-07-17 21:30:40 +00:00
2023-04-29 16:53:02 -07:00
2024-03-07 14:26:31 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-07-22 22:51:53 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-07 06:27:09 +00:00
2024-03-07 06:27:09 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2024-05-21 21:21:26 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-13 19:32:39 -07:00
2024-07-11 12:23:44 +10:00
2024-06-09 10:34:54 -07:00
2024-07-11 12:23:44 +10:00
2024-06-09 10:34:54 -07:00
2024-07-11 12:23:44 +10:00
2024-06-09 10:34:54 -07:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-07-11 12:23:44 +10:00
2024-07-21 22:34:35 -04:00
2023-11-24 19:15:52 +01:00
2024-07-11 11:00:15 +00:00
2024-07-11 11:00:15 +00:00
2023-12-02 09:01:19 +11:00
2024-03-29 13:31:35 -07:00
2024-07-01 07:21:02 -07:00
2024-07-01 07:21:02 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00