blob: afcc81d1c950347ad2eddec8c80cc3bc5979f1e9 [file]
//@ check-pass
//@ compile-flags: --test --crate-type=lib
#![expect(dead_code_pub_in_binary)]
#![deny(unfulfilled_lint_expectations)]
// FIXME(#159078): `--test` causes rustc to treat this library as an
// executable, incorrectly fulfilling the lint expectation. Cargo works
// around this for library test units (rust-lang/cargo#17608).
pub fn unused_pub_fn() {}