about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorGeorg Semmler <github@weiznich.de>2024-10-23 07:48:57 +0200
committerGeorg Semmler <github@weiznich.de>2024-12-18 07:10:12 +0100
commitecb6fd8d3a98fb5d3c0347d1e15ac79032c63ef4 (patch)
tree1bd7b71699b2840d575536b05420f0882d82c7a3 /compiler/rustc_mir_transform/src/coverage/counters.rs
parentbfd02d8b36914d222b2ee6ed185cbf6bdba7d9d9 (diff)
downloadrust-ecb6fd8d3a98fb5d3c0347d1e15ac79032c63ef4.tar.gz
rust-ecb6fd8d3a98fb5d3c0347d1e15ac79032c63ef4.zip
Check `#[diagnostic::do_not_recommend]` for arguments
This commit adds a check that verifies that no arguments are passed to
`#[diagnostic::do_not_recommend]`. If we detect arguments we emit a warning.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions