about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-22 18:36:35 +0000
committerbors <bors@rust-lang.org>2024-01-22 18:36:35 +0000
commit0b6e7e2acfbb4c80b1d02b7ab0eb6c9aaf6cc92d (patch)
tree5f8f5a1f0f8659f14ec7ff6cfb1435857691df8f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta8017ae131cf500b2fc005d01a062cecb121cba9 (diff)
parentad4d90b4a95887834ac93339ff388ed58cc8840d (diff)
downloadrust-0b6e7e2acfbb4c80b1d02b7ab0eb6c9aaf6cc92d.tar.gz
rust-0b6e7e2acfbb4c80b1d02b7ab0eb6c9aaf6cc92d.zip
Auto merge of #12183 - y21:issue12182, r=dswij
respect `#[allow]` attributes in `single_call_fn` lint

Fixes #12182

If we delay linting to `check_crate_post`, we need to use `span_lint_hir_and_then`, since otherwise it would only respect those lint level attributes at the crate root.
<sub>... maybe we can have an internal lint for this somehow?</sub>

changelog: respect `#[allow]` attributes in `single_call_fn` lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions