about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-15 11:19:27 +0000
committerbors <bors@rust-lang.org>2022-05-15 11:19:27 +0000
commit10b3a0d209746e70fdc72f65e4649d492f6ed5a2 (patch)
tree01ba43641e237fef14d20a209684a715f355a8e4 /compiler/rustc_mir_transform/src/coverage/counters.rs
parente1ec3260d79497080ca86540562d410ba67d2a95 (diff)
parent4fa24bcb54cd11ec9c5e95d6d0ef366e512d27d6 (diff)
downloadrust-10b3a0d209746e70fdc72f65e4649d492f6ed5a2.tar.gz
rust-10b3a0d209746e70fdc72f65e4649d492f6ed5a2.zip
Auto merge of #96885 - petrochenkov:linkstrict2, r=cjgillot,luqmana
rustc: Stricter checking for #[link] attributes

A subset of https://github.com/rust-lang/rust/pull/94962 that doesn't touch library renaming/reordering/deduplication.

`#[link]` attributes are checked for all kinds of unexpected arguments inside them.
I also tried to make wording for these errors more consistent, that's why some existing errors are changed, including errors for command line `-l` options.
Spans are also made more precise where possible.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions