Skip to content
Myr

Merge pull request #404 from dtolnay/missingabi

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

Ignore missing_abi lint in nightly-2025-01-16

authored by David Tolnay · committed by GitHub · parents 4d71a84, 51a173e · 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