diff options
| author | kennytm <kennytm@gmail.com> | 2018-10-28 21:37:26 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-10-28 21:37:26 +0800 |
| commit | aaa20c61d6cc090b139882a7946dfe89bb3486c1 (patch) | |
| tree | 250faf3e8510aea48a1167eb439c78874ac00c3b /src/test | |
| parent | 360f32abf49802e7247e562a350d07695b322818 (diff) | |
| parent | 0d06b8c8e59b0641e4487a720de933ffb1316196 (diff) | |
| download | rust-aaa20c61d6cc090b139882a7946dfe89bb3486c1.tar.gz rust-aaa20c61d6cc090b139882a7946dfe89bb3486c1.zip | |
Rollup merge of #55185 - davidtwco:issue-55130, r=nikomatsakis
path suggestions in Rust 2018 should point out the change in semantics Fixes #55130. This commit extends existing path suggestions to link to documentation on the changed semantics of `use` in Rust 2018.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/rust-2018/local-path-suggestions-2018.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/rust-2018/local-path-suggestions-2018.stderr b/src/test/ui/rust-2018/local-path-suggestions-2018.stderr index 97bf748881f..2293f4b0017 100644 --- a/src/test/ui/rust-2018/local-path-suggestions-2018.stderr +++ b/src/test/ui/rust-2018/local-path-suggestions-2018.stderr @@ -3,6 +3,8 @@ error[E0432]: unresolved import `foo` | LL | use foo::Bar; | ^^^ Did you mean `crate::foo`? + | + = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html> error[E0432]: unresolved import `foo` --> $DIR/local-path-suggestions-2018.rs:27:5 |
