diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-08 14:46:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-08 14:46:01 +0000 |
| commit | 0f8c96c92689af8378dbe9f466c6bf15a3a27458 (patch) | |
| tree | 86cc1eb6c7f90d6f718fbe3bc2955276b316f91f /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | ca8bd3ec42c9ab98b53c3402041e1e78bcc948a4 (diff) | |
| parent | 3dd5e273b6a86adb13a1b9d8677ff4116cbdb679 (diff) | |
| download | rust-0f8c96c92689af8378dbe9f466c6bf15a3a27458.tar.gz rust-0f8c96c92689af8378dbe9f466c6bf15a3a27458.zip | |
Merge #11238
11238: fix: shrink the span of errors from attribute macros and derives r=jonas-schievink a=jonas-schievink Some procedural macros tend to get very large invocations, for example RTIC's, leading to issues like https://github.com/rtic-rs/cortex-m-rtic/issues/582, where almost the entire screen is underlined while editing incomplete code in the macro. This PR shrinks the spans of errors from attribute macros and derives to point only at the attribute, which also matches rustc more closely. bors r+ Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
