We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5430e5 commit ff7009aCopy full SHA for ff7009a
compiler/rustc_mir/src/borrow_check/diagnostics/region_name.rs
@@ -404,7 +404,6 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
404
);
405
if type_name.find(&format!("'{}", counter)).is_some() {
406
// Only add a label if we can confirm that a region was labelled.
407
-
408
Some(RegionNameHighlight::CannotMatchHirTy(span, type_name))
409
} else {
410
None
0 commit comments