rust/clippy_lints/src/utils
Philipp Hansch b7929cafe1
Fix false positive in empty_line_after_outer_attr
Before, when you had a block comment between an attribute and the
following item like this:

```rust
\#[crate_type = "lib"]
/*

*/
pub struct Rust;
```

It would cause a false positive on the lint, because there is an empty
line inside the block comment.

This makes sure that basic block comments are detected and removed from
the snippet that was created before.
2018-03-30 12:36:50 +02:00
..
author.rs Address review comments 2018-03-29 13:41:53 +02:00
comparisons.rs Rustfmt 2017-08-14 09:43:26 +02:00
conf.rs Version bump 2018-03-27 12:14:46 +02:00
constants.rs Fixed some code in clippy to pass the new, removed formatting changes. 2017-10-20 10:17:41 -04:00
higher.rs Cargo fmt 2017-11-05 04:55:56 +09:00
hir_utils.rs Apply clippy suggestions 2018-03-16 10:54:49 +01:00
inspector.rs Address review comments 2018-03-29 13:41:53 +02:00
internal_lints.rs Categorize all the lints! 2018-03-28 15:24:26 +02:00
mod.rs Fix false positive in empty_line_after_outer_attr 2018-03-30 12:36:50 +02:00
paths.rs Rustup to rustc 1.26.0-nightly (ae544ee1c 2018-03-29) 2018-03-30 10:35:51 +02:00
ptr.rs Duplicate ptr_arg's suggestion logic 2017-10-08 17:51:44 +09:00
sugg.rs Apply clippy suggestions 2018-03-16 10:54:49 +01:00