Skip to content

Commit d4ca1ac

Browse files
committed
rustfmt
1 parent c77b569 commit d4ca1ac

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
@@ -77,11 +77,7 @@ fn anon_const_type_of<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> Ty<'tcx> {
7777
.with_help("`sym` operands must refer to either a function or a static")
7878
.emit();
7979

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

0 commit comments

Comments
 (0)