Fix typo: satic -> static

This commit is contained in:
Nixon Enraght-Moony
2021-07-10 16:06:24 +01:00
parent a84d1b21ae
commit 293fa8f39a
+1 -1
View File
@@ -284,7 +284,7 @@ fn check_codegen_attributes(
&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");
}