rust/src/test
Georg Brandl b62e7ff18d resolve: do not modify span of non-importable name
This span modification is probably leftover from a time when
import spans were assigned differently.

With this change, error spans for the following are properly reported:

```
use abc::one_el;
use abc::{a, bbb, cccccc};
use a_very_long_name::{el, el2};
```

before (spans only):
```
x.rs:3 use abc::one_el;
           ^~~
x.rs:4 use abc::{a, bbb, cccccc};
                 ^~~
x.rs:4 use abc::{a, bbb, cccccc};
                    ^~~
x.rs:4 use abc::{a, bbb, cccccc};
                         ^~~
(internal compiler error: unprintable span)
(internal compiler error: unprintable span)
```

after:
```
x.rs:3 use abc::one_el;
           ^~~~~~~~~~~
x.rs:4 use abc::{a, bbb, cccccc};
                 ^
x.rs:4 use abc::{a, bbb, cccccc};
                    ^~~
x.rs:4 use abc::{a, bbb, cccccc};
                         ^~~~~~
x.rs:5 use a_very_long_name::{el, el2};
                              ^~
x.rs:5 use a_very_long_name::{el, el2};
                                  ^~~
```

Fixes: #33464
2016-05-10 08:35:37 +02:00
..
codegen rustc: Implement custom panic runtimes 2016-05-09 08:22:36 -07:00
codegen-units Rollup merge of #33438 - birkenfeld:dup-words, r=steveklabnik 2016-05-07 15:35:19 -04:00
compile-fail resolve: do not modify span of non-importable name 2016-05-10 08:35:37 +02:00
compile-fail-fulldeps s/aux/auxiliary, because windows 2016-05-06 16:24:48 -04:00
debuginfo s/aux/auxiliary, because windows 2016-05-06 16:24:48 -04:00
incremental Fix test cases to reflect that #32014...went away 2016-04-06 16:38:29 -04:00
parse-fail Rollup merge of #33336 - birkenfeld:issue-27361, r=sfackler 2016-05-07 15:35:17 -04:00
pretty Fix fallout in tests 2016-03-30 22:00:48 +00:00
run-fail Add #[rustc_no_mir] to make tests pass with -Z orbit. 2016-03-17 22:48:07 +02:00
run-fail-fulldeps Improve error message for let-in-expr-position 2016-01-26 13:55:46 +05:30
run-make Rollup merge of #33474 - frewsxcv:unwrap-err, r=alexcrichton 2016-05-09 14:59:38 -07:00
run-pass Auto merge of #32900 - alexcrichton:panic2abort, r=nikomatsakis 2016-05-09 18:23:48 -07:00
run-pass-fulldeps mir: prepare for rvalue promotion support. 2016-05-07 07:19:10 +03:00
run-pass-valgrind Add #[rustc_no_mir] to make tests pass with -Z orbit. 2016-03-17 22:48:07 +02:00
rustdoc rustdoc: do not strip blanket impls in crate of origin 2016-05-09 16:50:47 +02:00