Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Jul 25, 2024
1 parent c77b569 commit d4ca1ac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions compiler/rustc_hir_analysis/src/collect/type_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ fn anon_const_type_of<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> Ty<'tcx> {
.with_help("`sym` operands must refer to either a function or a static")
.emit();

Ty::new_error_with_message(
tcx,
span,
format!("invalid type for `sym` operand"),
)
Ty::new_error_with_message(tcx, span, format!("invalid type for `sym` operand"))
}
}
}
Expand Down

0 comments on commit d4ca1ac

Please sign in to comment.