about summary refs log tree commit diff
path: root/library/std/src/sys/unix/path.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-05 11:29:59 +0000
committerbors <bors@rust-lang.org>2022-03-05 11:29:59 +0000
commitc8a49fc90281d9a3227a547b5bac8e01d17325be (patch)
treeb89ad1cb40935aefc84e61a58468b267d445f6e8 /library/std/src/sys/unix/path.rs
parent86067bb461d044ee30e7880ab6f3b34d5070f1db (diff)
parent92544f43b052b4c6b1d224c7ff73f68c0a19bd5c (diff)
downloadrust-c8a49fc90281d9a3227a547b5bac8e01d17325be.tar.gz
rust-c8a49fc90281d9a3227a547b5bac8e01d17325be.zip
Auto merge of #94561 - Urgau:check-cfg-lint-help-remove, r=petrochenkov
Improve unexpected_cfgs lint when their is no value expected

This pull-request improve the `unexpected_cfgs` when their is no value expected by suggesting to remove the value.

I also took the liberty to special case it for `feature` as it seems wrong to suggest to remove the value when the problem is most probably the absence of value(s) and also the fact that it doesn't make sense to only have `feature` without a value.

r? `@petrochenkov`
Diffstat (limited to 'library/std/src/sys/unix/path.rs')
0 files changed, 0 insertions, 0 deletions