File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -2301,7 +2301,6 @@ bool TypeResolver::diagnoseMoveOnlyMissingOwnership(
2301
2301
diagnose (repr->getLoc (),
2302
2302
diag::moveonly_parameter_missing_ownership);
2303
2303
2304
- // FIXME: this should be 'borrowing'
2305
2304
diagnose (repr->getLoc (), diag::moveonly_parameter_ownership_suggestion,
2306
2305
" borrowing" , " for an immutable reference" )
2307
2306
.fixItInsert (repr->getStartLoc (), " borrowing " );
@@ -2310,7 +2309,6 @@ bool TypeResolver::diagnoseMoveOnlyMissingOwnership(
2310
2309
" inout" , " for a mutable reference" )
2311
2310
.fixItInsert (repr->getStartLoc (), " inout " );
2312
2311
2313
- // FIXME: this should be 'consuming'
2314
2312
diagnose (repr->getLoc (), diag::moveonly_parameter_ownership_suggestion,
2315
2313
" consuming" , " to take the value from the caller" )
2316
2314
.fixItInsert (repr->getStartLoc (), " consuming " );
You can’t perform that action at this time.
0 commit comments