1#### Note: this error code is no longer emitted by the compiler.23This error suggests that the expression arm corresponding to the noted pattern4will never be reached as for all possible values of the expression being5matched, one of the preceding patterns will match.67This means that perhaps some of the preceding patterns are too general, this8one is too specific or the ordering is incorrect.910For example, the following `match` block has too many arms:1112```13match Some(0) {14 Some(bar) => {/* ... */}15 x => {/* ... */} // This handles the `None` case16 _ => {/* ... */} // All possible cases have already been handled17}18```1920`match` blocks have their patterns matched in order, so, for example, putting21a wildcard arm above a more specific arm will make the latter arm irrelevant.2223Ensure the ordering of the match arm is correct and remove any superfluous24arms.
Findings
✓ No findings reported for this file.