Skip to content

Commit ce735a5

Browse files
committed
fix tidy
1 parent ce85b3a commit ce735a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/late/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ impl<'a: 'ast, 'ast, 'tcx> LateResolutionVisitor<'a, '_, 'ast, 'tcx> {
17631763
}
17641764
}
17651765
// We'd ideally use `type_implements_trait` but don't have access to
1766-
// the trait solver here. We can't use `get_diagnostic_item` or
1766+
// the trait solver here. We can't use `get_diagnostic_item` or
17671767
// `all_traits` in resolve either. So instead we abuse the import
17681768
// suggestion machinery to get `std::default::Default` and perform some
17691769
// checks to confirm that we got *only* that trait. We then see if the

0 commit comments

Comments
 (0)