about summary refs log tree commit diff
path: root/tests/ui/cast.rs
AgeCommit message (Expand)AuthorLines
2019-12-05Add widening tests for `cast_sign_loss` lintKrishna Veera Reddy-0/+20
2019-12-05Fix false positive with cast_sign_loss lintKrishna Veera Reddy-0/+25
2019-10-02Allow casts from the result of `abs` to unsignedHMPerson1-0/+5
2019-08-04Split up cast.rs tests, run-rustfix for unnecessary_castPhilipp Hansch-28/+0
2019-04-25Ignore unnecessary cast if inside macrocemil-0/+12
2019-04-18Move two cast_lossless tests to their correct filesPhilipp Hansch-6/+1
2019-03-14casting integer literal to float is unnecessaryrink1969-6/+14
2019-01-31Fix `cast_sign_loss` false positiveMichael Wright-0/+8
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
2018-12-11tests: revert some changs and add further rustfmt::skip attributes.Matthias Krüger-1/+2
2018-12-09rustfmt testsMatthias Krüger-6/+8
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-9/+9
2018-01-06Split up casting UI testsPhilipp Hansch-49/+0
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-2/+2
2017-09-05Only strip parens for binary expressions.Dan Gohman-1/+0
2017-09-05Add a testcase demonstrating how precedence interacts with the lossless-cast ...Dan Gohman-0/+1
2017-09-05When suggesting `from(x)` for lossless casts, strip parens from `x`.Dan Gohman-0/+2
2017-08-28Add a lint for lossless casts.Dan Gohman-4/+33
2017-08-01Move all our tests back to ui testsOliver Schneider-0/+64
2017-05-17Make most tests an `example` so we can run them one by oneOliver Schneider-64/+0
2017-05-11clean tests/ui/cast.rsLuis de Bethencourt-13/+0
2017-02-16Suppress lint for unsuffixed number castsBood Qian-3/+5
2017-02-15Add lint for unnecessary casts (cast to same type)Bood Qian-0/+11
2017-02-08remove all //~ from testsOliver Schneider-42/+42
2017-02-07rustup and compile-fail -> ui test moveOliver Schneider-0/+64