Skip to content
Myr

Ignore missing_abi lint in nightly-2025-01-16

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by David Tolnay · committed by David Tolnay · parent 4d71a84 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:tests/test_ensure.rs+1 added
612 unmodified lines
613 );614615 extern "C" fn extern_fn() {}616 #[rustfmt::skip]617 #[allow(missing_abi)]618 let test = || Ok(ensure!(extern_fn as extern fn() as usize * 0 != 0));619 assert_err(620 test,621 "Condition failed: `extern_fn as extern fn() as usize * 0 != 0` (0 vs 0)",
133 unmodified lines