Skip to content

Commit 311578d

Browse files
lqdmatthewjasper
andauthored
fix typo in bound_region_errors.rs
Co-authored-by: matthewjasper <[email protected]>
1 parent 2cf4b87 commit 311578d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/borrow_check/diagnostics/bound_region_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ fn try_extract_error_from_fulfill_cx<'tcx>(
269269
) -> Option<DiagnosticBuilder<'tcx>> {
270270
let tcx = infcx.tcx;
271271

272-
// We generally shouldn't have here because the query was
272+
// We generally shouldn't have errors here because the query was
273273
// already run, but there's no point using `delay_span_bug`
274274
// when we're going to emit an error here anyway.
275275
let _errors = fulfill_cx.select_all_or_error(infcx).err().unwrap_or_else(Vec::new);

0 commit comments

Comments
 (0)