1
Fork 0

Fix typo: satic -> static

This commit is contained in:
Nixon Enraght-Moony 2021-07-10 16:06:24 +01:00
parent a84d1b21ae
commit 293fa8f39a

View file

@ -284,7 +284,7 @@ impl Inliner<'tcx> {
&self,
callsite: &CallSite<'tcx>,
callee_attrs: &CodegenFnAttrs,
) -> Result<(), &'satic str> {
) -> Result<(), &'static str> {
if let InlineAttr::Never = callee_attrs.inline {
return Err("never inline hint");
}