mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 14:36:49 +00:00
![]() This fixes an incorrect suggestion from the `useless_attribute` lint when using `cfg_attr`. Additionally, it will not show a suggestion anymore, if the attribute begins on a previous line, because it is much harder to construct the span of multi-line `cfg_attr` attributes as they don't appear in the AST. To fix it completely, one would have to parse upwards into the file, and find the beginning of the `cfg_attr` attribute. |
||
---|---|---|
.. | ||
auxiliary | ||
run-pass | ||
ui | ||
camel_case.rs | ||
cc_seme.rs | ||
compile-test.rs | ||
conf_whitelisted.rs | ||
dogfood.rs | ||
ice_exacte_size.rs | ||
issue-825.rs | ||
matches.rs | ||
mut_mut_macro.rs | ||
needless_continue_helpers.rs | ||
trim_multiline.rs | ||
used_underscore_binding_macro.rs | ||
versioncheck.rs |