Skip to content

Commit 477de93

Browse files
Specify sort location in a comment
Co-authored-by: Vadim Petrochenkov <[email protected]>
1 parent e592d73 commit 477de93

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
@@ -2168,7 +2168,7 @@ impl<'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'_, 'ast, 'ra, 'tcx> {
21682168
// Items from the prelude
21692169
if !module.no_implicit_prelude {
21702170
let extern_prelude = self.r.extern_prelude.clone();
2171-
// It is sorted later so ordering is not important.
2171+
// The names are sorted at the bottom of this function.
21722172
#[allow(rustc::potential_query_instability)]
21732173
names.extend(extern_prelude.iter().flat_map(|(ident, _)| {
21742174
self.r

0 commit comments

Comments
 (0)