1
Improve unexpected_cfgs lint when their is no value expected by Urgau · Pull Req...
source link: https://github.com/rust-lang/rust/pull/94561
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK