fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: redundant pattern matching, consider using `is_ok()` 2 --> $DIR/ice-7169.rs:10:12 3 | 4LL | if let Ok(_) = Ok::<_, ()>(A::<String>::default()) {} 5 | -------^^^^^-------------------------------------- help: try: `if Ok::<_, ()>(A::<String>::default()).is_ok()` 6 | 7 = note: `-D clippy::redundant-pattern-matching` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::redundant_pattern_matching)]` 9 10error: aborting due to previous error 11