diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-22 14:53:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-22 14:53:48 +0200 |
| commit | fdd241f5b39f874b694e70f4f0bf4161af2ee47e (patch) | |
| tree | 55b24a5737f147f350f874e137f443107c4e2502 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 8da1dd0215791b0e20ea25d1bf706757d1f3da81 (diff) | |
| parent | fea5ab12c269bd816b828d3ceea6bb90e4f72825 (diff) | |
| download | rust-fdd241f5b39f874b694e70f4f0bf4161af2ee47e.tar.gz rust-fdd241f5b39f874b694e70f4f0bf4161af2ee47e.zip | |
Rollup merge of #72623 - da-x:use-suggest-public-path, r=petrochenkov
Prefer accessible paths in 'use' suggestions
This PR addresses issue https://github.com/rust-lang/rust/issues/26454, where `use` suggestions are made for paths that don't work. For example:
```rust
mod foo {
mod bar {
struct X;
}
}
fn main() { X; } // suggests `use foo::bar::X;`
```
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
