mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
d3d3d7d7be
This makes it so that the `empty_line_after_outer_attribute` lint only checks for newlines between the end of the attribute and the beginning of the following item. We need to check for the empty line count being bigger than 2 because now the snippet of valid code contains only `\n` and splitting it produces `["", ""]` Invalid code will contain more than 2 empty strings. |
||
---|---|---|
.. | ||
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 |