feat(clippy): Suppress lint suspicious_else_formatting temporarily

This commit is contained in:
tempdragon 2024-03-16 12:08:39 +08:00
parent f6cab2cd1e
commit 653118e797

View File

@ -119,6 +119,7 @@ fn codegen_intrinsic_call(
let result = PlaceRef::new_sized(llresult, fn_abi.ret.layout);
let simple = get_simple_intrinsic(self, name);
#[allow(clippy::suspicious_else_formatting)]
let llval = match name {
_ if simple.is_some() => {
// FIXME(antoyo): remove this cast when the API supports function.