Skip to content

Commit 00265f0

Browse files
committed
fix tidy
1 parent 69edf8e commit 00265f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/late/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ impl<'a: 'ast, 'ast, 'tcx> LateResolutionVisitor<'a, '_, 'ast, 'tcx> {
17901790
}
17911791
}
17921792
// We'd ideally use `type_implements_trait` but don't have access to
1793-
// the trait solver here. We can't use `get_diagnostic_item` or
1793+
// the trait solver here. We can't use `get_diagnostic_item` or
17941794
// `all_traits` in resolve either. So instead we abuse the import
17951795
// suggestion machinery to get `std::default::Default` and perform some
17961796
// checks to confirm that we got *only* that trait. We then see if the

0 commit comments

Comments
 (0)