diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2024-09-11 20:43:50 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2024-09-11 21:42:32 +0200 |
| commit | 6ee87ae5944e02342e3d600700b773a1d4303845 (patch) | |
| tree | efb9e4233ce99cdcc589ecf0ea63170b9469c180 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | f7f8bdf2e03918cc3742db3bb37b7cfe9994dbec (diff) | |
| download | rust-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
