Skip to content

Commit 7248468

Browse files
Amanieufolkertdev
authored andcommitted
rustfmt
1 parent b1d7e25 commit 7248468

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/rustc_hir_analysis/src/collect/type_of.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ fn anon_const_type_of<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> Ty<'tcx> {
7676
.with_help("`sym` operands must refer to either a function or a static")
7777
.emit();
7878

79-
Ty::new_error_with_message(
80-
tcx,
81-
span,
82-
format!("invalid type for `sym` operand"),
83-
)
79+
Ty::new_error_with_message(tcx, span, format!("invalid type for `sym` operand"))
8480
}
8581
}
8682
}

0 commit comments

Comments
 (0)