mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
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
|
|
}
|