diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-07-23 15:15:45 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-07-25 21:25:43 -0700 |
| commit | 552ff07758545173c94fa260e5266ec07cd0bbde (patch) | |
| tree | 3225fb58a55ba166871654f9bc3d1aefbb037b8e /src/libstd/thread | |
| parent | 6c949655de6bd2866d7d4bbac0238f35557563fc (diff) | |
| download | rust-552ff07758545173c94fa260e5266ec07cd0bbde.tar.gz rust-552ff07758545173c94fa260e5266ec07cd0bbde.zip | |
Point at path segment on module not found
Point at the correct path segment on a import statement where a module
doesn't exist.
New output:
```rust
error[E0432]: unresolved import `std::bar`
--> <anon>:1:10
|
1 | use std::bar::{foo1, foo2};
| ^^^ Could not find `bar` in `std`
```
instead of:
```rust
error[E0432]: unresolved import `std::bar::foo1`
--> <anon>:1:16
|
1 | use std::bar::{foo1, foo2};
| ^^^^ Could not find `bar` in `std`
error[E0432]: unresolved import `std::bar::foo2`
--> <anon>:1:22
|
1 | use std::bar::{foo1, foo2};
| ^^^^ Could not find `bar` in `std`
```
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
