Skip to content

Commit 35e02dd

Browse files
committed
Switch from #[expect] to #[allow] because of a clippy bug
1 parent 99a3e75 commit 35e02dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/back/lto.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,8 @@ pub fn optimize_thin_module(
633633
save_temp_bitcode(cgcx, &module, "thin-lto-after-pm");
634634
}
635635
}*/
636-
#[expect(clippy::let_and_return)]
636+
// FIXME: switch to #[expect] when the clippy bug is fixed.
637+
#[allow(clippy::let_and_return)]
637638
module
638639
}
639640

0 commit comments

Comments
 (0)