about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-22 14:53:48 +0200
committerGitHub <noreply@github.com>2020-06-22 14:53:48 +0200
commitfdd241f5b39f874b694e70f4f0bf4161af2ee47e (patch)
tree55b24a5737f147f350f874e137f443107c4e2502 /library/std/src/sys/unix/stack_overflow.rs
parent8da1dd0215791b0e20ea25d1bf706757d1f3da81 (diff)
parentfea5ab12c269bd816b828d3ceea6bb90e4f72825 (diff)
downloadrust-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