about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2024-09-11 20:43:50 +0200
committerSamuel Tardieu <sam@rfc1149.net>2024-09-11 21:42:32 +0200
commit6ee87ae5944e02342e3d600700b773a1d4303845 (patch)
treeefb9e4233ce99cdcc589ecf0ea63170b9469c180 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf7f8bdf2e03918cc3742db3bb37b7cfe9994dbec (diff)
downloadrust-6ee87ae5944e02342e3d600700b773a1d4303845.tar.gz
rust-6ee87ae5944e02342e3d600700b773a1d4303845.zip
Use the same span for attributes and Try expansion of ?
This is needed for Clippy to know that the `#[allow(unused)]` attributes
added by the expansion of `?` are part of the desugaring, and that they
do not come from the user code.

rust-lang/rust-clippy#13380 exhibits a manifestation of this problem.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions