Skip to content

Commit 51a173e

Browse files
committed
Ignore missing_abi lint in nightly-2025-01-16
warning: extern declarations without an explicit ABI are deprecated --> tests/test_ensure.rs:617:43 | 617 | let test = || Ok(ensure!(extern_fn as extern fn() as usize * 0 != 0)); | ^^^^^^ help: explicitly specify the C ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default
1 parent 4d71a84 commit 51a173e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_ensure.rs

+1
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ fn test_as() {
614614

615615
extern "C" fn extern_fn() {}
616616
#[rustfmt::skip]
617+
#[allow(missing_abi)]
617618
let test = || Ok(ensure!(extern_fn as extern fn() as usize * 0 != 0));
618619
assert_err(
619620
test,

0 commit comments

Comments
 (0)