mirror of
https://github.com/apple/swift.git
synced 2026-10-22 19:15:50 +02:00
Since this is implemented as an opportunistic MiscDiagnostics check, it cannot be 100% reliable. We recently tightened it up, and we might tighten it up again. To avoid further source breaks, just turn this into a warning, since ultimately this just means the `else` branch is dead. As discussed in https://forums.swift.org/t/minor-source-break-with-if-let-and-guard-let-bindings/89955.