mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 16:33:49 +00:00
![Max Tilley](/assets/img/avatar_default.png)
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
|
|
}
|