rust-clippy/tests/ui/unnecessary_fallible_conversions.fixed

7 lines
126 B
Rust
Raw Normal View History

#![warn(clippy::unnecessary_fallible_conversions)]
fn main() {
let _: i64 = 0i32.into();
let _: i64 = 0i32.into();
}