rustfmt
This commit is contained in:
parent
c77b56901f
commit
d4ca1ac8b9
1 changed files with 1 additions and 5 deletions
|
@ -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")
|
.with_help("`sym` operands must refer to either a function or a static")
|
||||||
.emit();
|
.emit();
|
||||||
|
|
||||||
Ty::new_error_with_message(
|
Ty::new_error_with_message(tcx, span, format!("invalid type for `sym` operand"))
|
||||||
tcx,
|
|
||||||
span,
|
|
||||||
format!("invalid type for `sym` operand"),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue