File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -387,24 +387,24 @@ TypeCheckPattern::visit (HIR::IdentifierPattern &)
387
387
}
388
388
389
389
void
390
- TypeCheckPattern::visit (HIR::QualifiedPathInExpression &)
390
+ TypeCheckPattern::visit (HIR::QualifiedPathInExpression &pattern )
391
391
{
392
- // TODO
393
- gcc_unreachable ( );
392
+ rust_sorry_at (pattern. get_locus (),
393
+ " type checking qualified path patterns not supported " );
394
394
}
395
395
396
396
void
397
- TypeCheckPattern::visit (HIR::ReferencePattern &)
397
+ TypeCheckPattern::visit (HIR::ReferencePattern &pattern )
398
398
{
399
- // TODO
400
- gcc_unreachable ( );
399
+ rust_sorry_at (pattern. get_locus (),
400
+ " type checking qualified path patterns not supported " );
401
401
}
402
402
403
403
void
404
- TypeCheckPattern::visit (HIR::SlicePattern &)
404
+ TypeCheckPattern::visit (HIR::SlicePattern &pattern )
405
405
{
406
- // TODO
407
- gcc_unreachable ( );
406
+ rust_sorry_at (pattern. get_locus (),
407
+ " type checking qualified path patterns not supported " );
408
408
}
409
409
410
410
} // namespace Resolver
You can’t perform that action at this time.
0 commit comments