about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-11 15:53:24 -0700
committerGitHub <noreply@github.com>2024-09-11 15:53:24 -0700
commit82655065194063be4a58536e2a722d8e4cad1c36 (patch)
treec8d668e7f8f743f362877a925096e400645ad8d5 /compiler/rustc_codegen_llvm/src/errors.rs
parent142598214cd3cf1705a9b3900897e226daee2aed (diff)
parent6ee87ae5944e02342e3d600700b773a1d4303845 (diff)
downloadrust-82655065194063be4a58536e2a722d8e4cad1c36.tar.gz
rust-82655065194063be4a58536e2a722d8e4cad1c36.zip
Rollup merge of #130244 - samueltardieu:qmark-expansion-span-fix, r=jieyouxu
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 and will be fixed by this change.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions