2023-07-02 12:35:19 +00:00
|
|
|
error: this match arm has an identical body to the `_` wildcard arm
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/match_same_arms_non_exhaustive.rs:45:9
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
2023-09-03 04:31:56 +00:00
|
|
|
LL | Ordering::AcqRel | Ordering::SeqCst => repeat(),
|
2023-07-02 12:35:19 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm
|
|
|
|
|
|
|
|
|
= help: or try changing either arm body
|
|
|
|
note: `_` wildcard arm here
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/match_same_arms_non_exhaustive.rs:47:9
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
2023-09-03 04:31:56 +00:00
|
|
|
LL | _ => repeat(),
|
2023-07-02 12:35:19 +00:00
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
= note: `-D clippy::match-same-arms` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::match_same_arms)]`
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
error: this match arm has an identical body to the `_` wildcard arm
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/match_same_arms_non_exhaustive.rs:59:13
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
2023-09-03 04:31:56 +00:00
|
|
|
LL | Ordering::AcqRel | Ordering::SeqCst => repeat(),
|
2023-07-02 12:35:19 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm
|
|
|
|
|
|
|
|
|
= help: or try changing either arm body
|
|
|
|
note: `_` wildcard arm here
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/match_same_arms_non_exhaustive.rs:61:13
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
2023-09-03 04:31:56 +00:00
|
|
|
LL | _ => repeat(),
|
2023-07-02 12:35:19 +00:00
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|