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