about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/macros.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-24 15:06:23 +0200
committerGitHub <noreply@github.com>2024-06-24 15:06:23 +0200
commita80ee9159b053f27fdf3e974aab44f2dc74b2868 (patch)
tree0dceb58491fcc051613fb4e97ae63bb873988f4e /compiler/rustc_resolve/src/macros.rs
parent8bfde609e285a8068396490c5399e7913682d19c (diff)
parent284437d4342b70e03771d5329e5ac02dd719166a (diff)
downloadrust-a80ee9159b053f27fdf3e974aab44f2dc74b2868.tar.gz
rust-a80ee9159b053f27fdf3e974aab44f2dc74b2868.zip
Rollup merge of #126882 - estebank:multiline-order, r=WaffleLapkin
Special case when a code line only has multiline span starts

Minimize multline span overlap when there are multiple of them starting on the same line:

```
3 |       X0 Y0 Z0
  |  _____^  -  -
  | | _______|  |
  | || _________|
4 | |||   X1 Y1 Z1
5 | |||   X2 Y2 Z2
  | |||____^__-__- `Z` label
  | ||_____|__|
  | |______|  `Y` is a good letter too
  |        `X` is a good letter
```
Diffstat (limited to 'compiler/rustc_resolve/src/macros.rs')
0 files changed, 0 insertions, 0 deletions