about summary refs log tree commit diff
path: root/tests/ui/format.rs
AgeCommit message (Collapse)AuthorLines
2019-08-23Re-add false positive checkLzu Tao-0/+4
2019-08-23Add raw string regression test for useless_format lintLzu Tao-0/+4
2019-04-13fix format does not parse escaped braces errorrchaser53-0/+2
2019-03-10Addressed points raised in review.Alexander Regueiro-3/+3
2019-03-10Various cosmetic improvements.Alexander Regueiro-12/+12
2019-02-24Fix `useless_format` suggestionsMichael Wright-0/+2
2019-01-08Remove all copyright license headersPhilipp Hansch-10/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-09add rustfmt::skip attributes to some testsMatthias Krüger-1/+0
2018-10-11Stabilize tool lintsOliver Scherer-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-10-03Don't suggest `to_string().to_string` in USELESS_FORMATmcarton-0/+4
2018-10-02Ignore `format!` with precision in `USELESS_FORMAT`mcarton-0/+6
2018-10-02Add test for variable width in `USELESS_FORMAT`mcarton-0/+2
2018-08-29Adapt ui-tests to the tool_lintsflip1995-3/+3
2018-04-12Fix useless_format false negativeMichael Wright-4/+8
Closes #2546
2018-04-05Merge pull request #2632 from phansch/fix_useless_format_false_positiveOliver Schneider-0/+9
Fix useless_format false positive with macros
2018-04-05Fix useless_format false positive with macrosPhilipp Hansch-0/+9
Clippy was issuing a warning when `format!` was used inside a macro. That's a problem because macros have different syntax and can be outside the control of the user. This skips the `useless_format` check if the `format!` call is inside a macro.
2018-04-02Add #![allow(print_literal)] to other test/ui/print_*.rs testsMichael Recachinas-1/+1
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-2/+2
2017-08-01Move all our tests back to ui testsOliver Schneider-0/+34
2017-05-17Make most tests an `example` so we can run them one by oneOliver Schneider-34/+0
2017-02-08remove all //~ from testsOliver Schneider-3/+3
2017-02-07rustup and compile-fail -> ui test moveOliver Schneider-0/+34