Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 64d3961

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
11061106
}
11071107
}
11081108
Scope::ExternPrelude => {
1109-
// The suggestions are deterministically sorted later
1109+
// The suggestions are deterministically sorted at the bottom of this function.
11101110
#[allow(rustc::potential_query_instability)]
11111111
suggestions.extend(this.extern_prelude.iter().filter_map(|(ident, _)| {
11121112
let res = Res::Def(DefKind::Mod, CRATE_DEF_ID.to_def_id());

0 commit comments

Comments
 (0)