about summary refs log tree commit diff
path: root/tests/ui/cast_lossless_integer.fixed
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/+34