Allow more dead code

This commit is contained in:
Oli Scherer
2025-08-26 07:13:09 +00:00
parent 363deb84cc
commit c85e4240be
25 changed files with 88 additions and 77 deletions
+2 -2
View File
@@ -7,13 +7,13 @@ error[E0425]: cannot find value `__FAIL__` in this scope
warning: unreachable pattern
--> tests/ui/conflict/alias.rs:10:5
|
5 | #[serde(alias = "a", alias = "b", alias = "c")]
5 | #[serde(alias = "a", alias = "b", alias = "c")]
| --- matches all the relevant values
...
10 | b: (),
| ^ no value can reach this
|
= note: `#[warn(unreachable_patterns)]` on by default
= note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
warning: unreachable pattern
--> tests/ui/conflict/alias.rs:9:21