about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-21 13:30:26 +0200
committerGitHub <noreply@github.com>2024-04-21 13:30:26 +0200
commit43d5e00bac1fb97da9d196e9b111854b0e52016c (patch)
tree87210cca995d0db36756f92dbb1815fb2b14c532 /compiler/rustc_errors/src/snippet.rs
parent24b8c54f6d7675fd5a3534deadb43e401d3e93fc (diff)
parent57085a06d9279173aac3d45a1a56c728047f45a3 (diff)
downloadrust-43d5e00bac1fb97da9d196e9b111854b0e52016c.tar.gz
rust-43d5e00bac1fb97da9d196e9b111854b0e52016c.zip
Rollup merge of #124198 - compiler-errors:improve-ty-ct-param-span, r=Nadrieril
Flip spans for precise capturing syntax not capturing a ty/const param, and for implicit captures of lifetime params

Make the primary span point to the opaque, rather than the param which might be very far away (e.g. in an impl header hundreds of lines above).
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions