rust/tests/ui/suggestions/issue-117669.rs
Max Tilley 1854776fa9 Reorder type mismatch suggestions
Suggestions are reordered to to make sure potential missing expect on Option/Result runs
before the suggestion to remove the last method call
2023-11-08 14:15:25 +00:00

5 lines
85 B
Rust

fn main() {
let abs: i32 = 3i32.checked_abs();
//~^ ERROR mismatched types
}