rust/src/libsyntax
Corey Farwell 236978e411 Rollup merge of #41214 - estebank:less-multiline, r=petrochenkov
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
```

Re: #35965,  #38246. Follow up to #38328.

r? @jonathandturner
2017-04-20 01:39:53 -04:00
..
2017-04-12 19:12:49 -05:00
2017-03-30 05:44:56 +00:00
2017-03-23 11:28:00 -07:00
2017-03-14 04:39:21 +00:00
2017-02-21 15:52:14 +01:00
2017-03-29 00:41:10 +00:00
2017-03-29 00:41:10 +00:00
2017-03-29 00:41:10 +00:00
2017-03-29 00:41:10 +00:00
2017-03-29 00:41:10 +00:00
2017-04-12 19:12:49 -05:00