Skip to content

Commit 2f734e5

Browse files
committed
[nfc] remove outdated FIXME's
1 parent 57733f9 commit 2f734e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/TypeCheckType.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,6 @@ bool TypeResolver::diagnoseMoveOnlyMissingOwnership(
23012301
diagnose(repr->getLoc(),
23022302
diag::moveonly_parameter_missing_ownership);
23032303

2304-
// FIXME: this should be 'borrowing'
23052304
diagnose(repr->getLoc(), diag::moveonly_parameter_ownership_suggestion,
23062305
"borrowing", "for an immutable reference")
23072306
.fixItInsert(repr->getStartLoc(), "borrowing ");
@@ -2310,7 +2309,6 @@ bool TypeResolver::diagnoseMoveOnlyMissingOwnership(
23102309
"inout", "for a mutable reference")
23112310
.fixItInsert(repr->getStartLoc(), "inout ");
23122311

2313-
// FIXME: this should be 'consuming'
23142312
diagnose(repr->getLoc(), diag::moveonly_parameter_ownership_suggestion,
23152313
"consuming", "to take the value from the caller")
23162314
.fixItInsert(repr->getStartLoc(), "consuming ");

0 commit comments

Comments
 (0)