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

Commit aeac8a8

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

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
@@ -1086,7 +1086,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
10861086
this.add_module_candidates(module, &mut suggestions, filter_fn, None);
10871087
}
10881088
Scope::MacroUsePrelude => {
1089-
// The suggestions are deterministically sorted later
1089+
// The suggestions are deterministically sorted at the bottom of this function.
10901090
#[allow(rustc::potential_query_instability)]
10911091
suggestions.extend(this.macro_use_prelude.iter().filter_map(
10921092
|(name, binding)| {

0 commit comments

Comments
 (0)