mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[move-only] Integrate BorrowToDestructureTransform into the AddressChecker so we handle load [copy] switch_enum.
This commit is contained in:
@@ -102,6 +102,7 @@ void DiagnosticEmitter::emitCheckerDoesntUnderstandDiagnostic(
|
||||
diag::sil_moveonlychecker_not_understand_moveonly);
|
||||
}
|
||||
registerDiagnosticEmitted(markedValue);
|
||||
emittedCheckerDoesntUnderstandDiagnostic = true;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user