about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-07-08 13:04:32 +0800
committerGitHub <noreply@github.com>2024-07-08 13:04:32 +0800
commitbd4ab30e9cebac366f1b21821b12e65a8d6167b1 (patch)
treeae533f99879e65b01a332fe99e7efb986b757f4e /compiler/rustc_errors/src/snippet.rs
parente76b01775c1c98d25735055316496253146967fe (diff)
parent8c2ea715e9b0df15881392b248576a2ee8c13075 (diff)
downloadrust-bd4ab30e9cebac366f1b21821b12e65a8d6167b1.tar.gz
rust-bd4ab30e9cebac366f1b21821b12e65a8d6167b1.zip
Rollup merge of #127431 - oli-obk:feed_item_attrs, r=compiler-errors
Use field ident spans directly instead of the full field span in diagnostics on local fields

This improves diagnostics and avoids having to store the `DefId`s of fields
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions