Skip to content

Commit e592d73

Browse files
Clarify reasoning behind allowing this lint in a comment
Co-authored-by: Vadim Petrochenkov <[email protected]>
1 parent 9652373 commit e592d73

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
@@ -1928,7 +1928,7 @@ impl<'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'_, 'ast, 'ra, 'tcx> {
19281928
let Some(default_trait) = default_trait else {
19291929
return;
19301930
};
1931-
// The ordering is not important here.
1931+
// The ordering is not important because `any` is used on the iterator.
19321932
#[allow(rustc::potential_query_instability)]
19331933
if self
19341934
.r

0 commit comments

Comments
 (0)