Esteban Küber
beaf31581a
Structured use
suggestion on privacy error
...
When encoutering a privacy error on an item through a re-export that is
accessible in an alternative path, provide a structured suggestion with
that path.
```
error[E0603]: module import `mem` is private
--> $DIR/private-std-reexport-suggest-public.rs:4:14
|
LL | use foo::mem;
| ^^^ private module import
|
note: the module import `mem` is defined here...
--> $DIR/private-std-reexport-suggest-public.rs:8:9
|
LL | use std::mem;
| ^^^^^^^^
note: ...and refers to the module `mem` which is defined here
--> $SRC_DIR/std/src/lib.rs:LL:COL
|
= note: you could import this
help: import `mem` through the re-export
|
LL | use std::mem;
| ~~~~~~~~
```
Fix #42909 .
2023-12-04 22:26:08 +00:00
..
2023-07-29 00:19:50 +08:00
2023-04-03 09:24:11 +02:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-08-31 20:00:04 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-10-05 01:04:41 +00:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-01-17 03:09:49 +00:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-04-12 22:50:10 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:19:50 +08:00
2023-09-13 16:38:05 +08:00
2023-07-29 00:19:50 +08:00
2023-09-13 16:38:05 +08:00
2023-07-29 00:19:50 +08:00
2023-09-13 16:38:05 +08:00
2023-07-29 00:19:50 +08:00
2023-07-29 00:19:50 +08:00
2023-09-13 16:38:05 +08:00
2023-09-13 16:38:05 +08:00
2023-09-13 16:38:05 +08:00
2023-09-13 16:38:05 +08:00
2023-09-13 16:38:05 +08:00
2023-09-13 16:38:05 +08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-04-12 22:50:10 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-26 18:35:09 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-04-12 22:50:10 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-05-27 18:49:07 +08:00
2023-12-04 22:26:08 +00:00
2023-10-21 15:40:32 +02:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-07-29 00:14:38 +08:00
2023-11-24 19:15:52 +01:00
2023-07-01 11:53:31 +08:00
2023-11-24 19:15:52 +01:00
2023-03-22 16:05:20 +01:00
2023-03-22 16:05:20 +01:00
2023-11-24 19:15:52 +01:00
2023-03-22 16:05:20 +01:00
2023-03-22 16:05:20 +01:00
2023-11-24 19:15:52 +01:00
2023-05-23 13:14:34 +08:00
2023-11-24 19:15:52 +01:00
2023-05-18 09:22:29 +08:00
2023-11-24 19:15:52 +01:00
2023-07-25 01:34:03 +08:00
2023-11-24 19:15:52 +01:00
2023-03-20 03:22:31 +08:00
2023-03-20 03:22:31 +08:00
2023-12-01 12:10:07 +08:00
2023-12-01 12:10:07 +08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-04 22:26:08 +00:00
2023-12-04 22:26:08 +00:00
2023-12-04 22:26:08 +00:00
2023-10-22 21:27:46 +08:00
2023-10-22 21:27:46 +08:00
2023-12-01 12:10:07 +08:00
2023-12-01 12:10:07 +08:00
2023-07-29 08:51:17 +02:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00