about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-07-26 06:15:02 -0600
committerGitHub <noreply@github.com>2017-07-26 06:15:02 -0600
commitb58339205803689b0037b46bddc62351d0b44ad3 (patch)
tree671d629eba95810102f5d48c085172f64b163c05 /src/libstd/thread
parentb5b7266b786cb953581ba588d400bddcdae4a852 (diff)
parent552ff07758545173c94fa260e5266ec07cd0bbde (diff)
downloadrust-b58339205803689b0037b46bddc62351d0b44ad3.tar.gz
rust-b58339205803689b0037b46bddc62351d0b44ad3.zip
Rollup merge of #43447 - estebank:import-span, r=nikomatsakis
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`
```

Fix #43040.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions