2023-07-02 12:35:19 +00:00
|
|
|
error: this match arm has an identical body to the `_` wildcard arm
|
|
|
|
--> $DIR/match_same_arms_non_exhaustive.rs:41:9
|
|
|
|
|
|
|
|
|
LL | Ordering::AcqRel | Ordering::SeqCst => panic!(),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm
|
|
|
|
|
|
|
|
|
= help: or try changing either arm body
|
|
|
|
note: `_` wildcard arm here
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/match_same_arms_non_exhaustive.rs:43:9
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | _ => panic!(),
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
= note: `-D clippy::match-same-arms` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: this match arm has an identical body to the `_` wildcard arm
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/match_same_arms_non_exhaustive.rs:55:13
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | Ordering::AcqRel | Ordering::SeqCst => panic!(),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm
|
|
|
|
|
|
|
|
|
= help: or try changing either arm body
|
|
|
|
note: `_` wildcard arm here
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/match_same_arms_non_exhaustive.rs:57:13
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | _ => panic!(),
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|