about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-03-27 19:26:47 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-03-27 19:35:30 -0700
commit326ec800b952749d0afc90be0604dc0332d70324 (patch)
tree6f20d0c76b39acb66d2cce95a2c6010700508941 /src/test/incremental/thinlto
parent925ca49cf12ef9ce328eb7ad66e63c4c86b02460 (diff)
downloadrust-326ec800b952749d0afc90be0604dc0332d70324.tar.gz
rust-326ec800b952749d0afc90be0604dc0332d70324.zip
Account for fully overlapping multiline annotations
When two multiline span labels point at the same span, we special
case the output to avoid weird behavior:

```
        foo(
   _____^
  |_____|
 ||         bar,
 ||     );
 ||      ^
 ||______|
  |______foo
         baz
```

instead showing

```
       foo(
  _____^
 |         bar,
 |     );
 |      ^
 |      |
 |______foo
        baz
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions