rust/src/test/ui/resolve
Esteban Küber 439ff69d90 Add a way to get shorter spans until char for pointing at defs
```rust
error[E0072]: recursive type `X` has infinite size
  --> file.rs:10:1
   |
10 | struct X {
   | ^^^^^^^^ recursive type has infinite size
   |
   = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
```

vs

```rust
error[E0072]: recursive type `X` has infinite size
  --> file.rs:10:1
   |
10 |   struct X {
   |  _^ starting here...
11 | |     x: X,
12 | | }
   | |_^ ...ending here: recursive type has infinite size
   |
   = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
```
2017-04-12 01:10:48 -07:00
..
auxiliary Stabilize pub(restricted) 2017-03-15 22:39:04 -07:00
enums-are-namespaced-xc.rs
enums-are-namespaced-xc.stderr
issue-2356.rs
issue-2356.stderr
issue-3907-2.rs
issue-3907-2.stderr Add a way to get shorter spans until char for pointing at defs 2017-04-12 01:10:48 -07:00
issue-3907.rs
issue-3907.stderr
issue-5035-2.rs
issue-5035-2.stderr
issue-5035.rs
issue-5035.stderr
issue-6702.rs
issue-6702.stderr
issue-14254.rs
issue-14254.stderr
issue-16058.rs
issue-16058.stderr
issue-17518.rs
issue-17518.stderr
issue-18252.rs
issue-18252.stderr
issue-19452.rs
issue-19452.stderr
issue-21221-1.rs
issue-21221-1.stderr
issue-21221-2.rs
issue-21221-2.stderr
issue-21221-3.rs
issue-21221-3.stderr
issue-21221-4.rs
issue-21221-4.stderr
issue-23305.rs
issue-23305.stderr
issue-24968.rs
issue-24968.stderr
issue-33876.rs
issue-33876.stderr
levenshtein.rs
levenshtein.stderr
privacy-struct-ctor.rs Stabilize pub(restricted) 2017-03-15 22:39:04 -07:00
privacy-struct-ctor.stderr Stabilize pub(restricted) 2017-03-15 22:39:04 -07:00
resolve-assoc-suggestions.rs
resolve-assoc-suggestions.stderr
resolve-hint-macro.rs
resolve-hint-macro.stderr
resolve-speculative-adjustment.rs
resolve-speculative-adjustment.stderr
suggest-path-instead-of-mod-dot-item.rs
suggest-path-instead-of-mod-dot-item.stderr
token-error-correct-2.rs
token-error-correct-2.stderr
token-error-correct-3.rs
token-error-correct-3.stderr Merge branch 'master' into issue-32540 2017-04-04 08:13:27 -07:00
token-error-correct.rs
token-error-correct.stderr Improve wording and spans for unexpected token 2017-03-25 15:36:59 -07:00
tuple-struct-alias.rs
tuple-struct-alias.stderr
unboxed-closure-sugar-nonexistent-trait.rs
unboxed-closure-sugar-nonexistent-trait.stderr
unresolved_static_type_field.rs
unresolved_static_type_field.stderr