diff options
| author | Dan Aloni <alonid@gmail.com> | 2020-06-21 19:31:49 +0300 |
|---|---|---|
| committer | Dan Aloni <alonid@gmail.com> | 2020-06-23 13:37:50 +0300 |
| commit | 404df1cbbfac0126d256f99a12a175d9ce96fd0f (patch) | |
| tree | c8b1f492ebfb7c6c22a0d2e0625fe96dd65f2d6f /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 3b1c08c68ccc2c222f84384c836b5e167e2bc241 (diff) | |
| download | rust-404df1cbbfac0126d256f99a12a175d9ce96fd0f.tar.gz rust-404df1cbbfac0126d256f99a12a175d9ce96fd0f.zip | |
Add re-exports to use suggestions
In the following example, an inaccessible path is suggested via
`use foo::bar::X;` whereas an accessible public exported path can
be suggested instead.
```
mod foo {
mod bar {
pub struct X;
}
pub use self::bar::X;
}
fn main() { X; }
```
This fixes the issue.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
