Skip to content

Commit a6711d3

Browse files
committed
Remove Debug trait for ItemSortKey.
1 parent f636322 commit a6711d3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/mono.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ impl<'tcx> CodegenUnit<'tcx> {
526526
) -> Vec<(MonoItem<'tcx>, MonoItemData)> {
527527
// The codegen tests rely on items being process in the same order as
528528
// they appear in the file, so for local items, we sort by span first
529-
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug)]
529+
#[derive(PartialEq, Eq, PartialOrd, Ord)]
530530
struct ItemSortKey<'tcx>(Option<Span>, SymbolName<'tcx>);
531531

532532
fn item_sort_key<'tcx>(tcx: TyCtxt<'tcx>, item: MonoItem<'tcx>) -> ItemSortKey<'tcx> {

0 commit comments

Comments
 (0)