about summary refs log tree commit diff
path: root/tests/ui/useless_attribute.rs
AgeCommit message (Collapse)AuthorLines
2020-01-08Add regression test for useless_attribute lintflip1995-1/+11
2019-11-07Remove clippy_lints from useless attribute testManish Goregaokar-3/+2
2019-05-18useless_attribute: Add unreachable_pub to whitelistsTaiki Endo-0/+13
2019-04-10Don't emit useless_attribute lint in external macrosPhilipp Hansch-0/+10
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-11tests: revert some changs and add further rustfmt::skip attributes.Matthias Krüger-1/+3
2018-12-09rustfmt testsMatthias Krüger-6/+5
2018-10-11Stabilize tool lintsOliver Scherer-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-15Fix `useless_attribute` to also whitelist `unused_extern_crates`.Eduard-Mihai Burtescu-3/+4
2018-08-29Adapt ui-tests to the tool_lintsflip1995-2/+2
2018-07-19Skip useless_attribute lint on allow(unused_imports) on extern crate items ↵flip1995-0/+2
with macro_use
2018-02-06Partly fix incorrect useless_attribute suggestionPhilipp Hansch-0/+3
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.
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-2/+2
2017-08-28Update tests to current rustcOliver Schneider-1/+1
2017-08-01Move all our tests back to ui testsOliver Schneider-0/+17
2017-05-17Make most tests an `example` so we can run them one by oneOliver Schneider-17/+0
2017-05-11clean tests/ui/vec.rsLuis de Bethencourt-2/+0
Cleaning the empty lines for clarity.
2017-02-08remove all //~ from testsOliver Schneider-3/+3
2017-02-07rustup and compile-fail -> ui test moveOliver Schneider-0/+19