about summary refs log tree commit diff
path: root/tests/ui/cast_lossless_integer.rs
AgeCommit message (Collapse)AuthorLines
2019-08-30Fix cast_lossless false positive in impl const fnPhilipp Hansch-0/+11
Fixes https://github.com/rust-lang/rust-clippy/issues/3656#issuecomment-526387382
2019-04-18Move two cast_lossless tests to their correct filesPhilipp Hansch-0/+3
First part of checking off the `tests/ui/cast.rs` checkbox in #3630.
2019-01-26Prevent incorrect cast_lossless suggestion in const_fnPhilipp Hansch-2/+10
`::from` is not a const fn, so applying the suggestion of `cast_lossless` would fail to compile. The fix is to skip the lint if the cast is found inside a const fn.
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2019-01-04Add run-rustfix where it already passesPhilipp Hansch-0/+2
2018-12-09rustfmt testsMatthias Krüger-2/+0
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
2018-01-06Split up casting UI testsPhilipp Hansch-0/+24
Part of #2038