mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
1854776fa9
Suggestions are reordered to to make sure potential missing expect on Option/Result runs before the suggestion to remove the last method call
5 lines
85 B
Rust
5 lines
85 B
Rust
fn main() {
|
|
let abs: i32 = 3i32.checked_abs();
|
|
//~^ ERROR mismatched types
|
|
}
|