about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-01-08 14:46:01 +0000
committerGitHub <noreply@github.com>2022-01-08 14:46:01 +0000
commit0f8c96c92689af8378dbe9f466c6bf15a3a27458 (patch)
tree86cc1eb6c7f90d6f718fbe3bc2955276b316f91f /src/test/codegen/src-hash-algorithm
parentca8bd3ec42c9ab98b53c3402041e1e78bcc948a4 (diff)
parent3dd5e273b6a86adb13a1b9d8677ff4116cbdb679 (diff)
downloadrust-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 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions