about summary refs log tree commit diff
path: root/tests/ui/formatting.rs
AgeCommit message (Collapse)AuthorLines
2020-01-25dont fire possible_missing_comma if intendation is presentMikhail Babenko-0/+11
2019-02-26Add [rustfmt::skip] to formatting lint testsMichael Wright-1/+4
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-20Teach `suspicious_else_formatting` about `if .. {..} {..}`HMPerson1-1/+30
2018-12-11tests: fix more cases where rustfmt would have hurt the testsMatthias Krüger-4/+0
2018-12-10test formatting: don't format tests/ui/formatting.rsMatthias Krüger-41/+56
2018-12-09rustfmt testsMatthias Krüger-56/+41
2018-11-04Fix `possible_missing_comma` false positivesMichael Wright-0/+12
`possible_missing_comma` should only trigger when the binary operator has unary equivalent. Otherwise, it's not possible to insert a comma without breaking compilation. The operators identified were `+`, `&`, `*` and `-`. This fixes the specific examples given in issues #3244 and #3396 but doesn't address the conflict this lint has with the style of starting a line with a binary operator.
2018-10-11Stabilize tool lintsOliver Scherer-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-08-29Adapt ui-tests to the tool_lintsflip1995-4/+4
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-2/+2
2017-08-01Move all our tests back to ui testsOliver Schneider-0/+105
2017-05-17Make most tests an `example` so we can run them one by oneOliver Schneider-105/+0
2017-05-11clean tests/ui/formatting.rsLuis de Bethencourt-22/+0
Cleaning the empty lines for clarity.
2017-02-16typos: coma -> commaBen Boeckel-2/+2
2017-02-08remove all //~ from testsOliver Schneider-20/+20
2017-02-07rustup and compile-fail -> ui test moveOliver Schneider-0/+127