diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-04-20 01:39:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-20 01:39:53 -0400 |
| commit | 236978e41115e94dc3634ac5e87cdf8472be882b (patch) | |
| tree | 26b19539360f9e4789aa9435be1a48583de993b5 /src/test/incremental/thinlto | |
| parent | 1bb1530239c801bb46b705eb2874ac4e5b213e54 (diff) | |
| parent | 439ff69d909a0add54b1ea1e093bc838693d1e4e (diff) | |
| download | rust-236978e41115e94dc3634ac5e87cdf8472be882b.tar.gz rust-236978e41115e94dc3634ac5e87cdf8472be882b.zip | |
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
