1

Improve unexpected_cfgs lint when their is no value expected by Urgau · Pull Req...

 2 years ago
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.

Copy link

Contributor

Urgau commented 8 days ago

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK