Files
rust/tests/ui/eii/dylib_needs_impl.rs
bjorn3 7edaa349d7 Add item kind to EII not found error
This matches the error message for missing #[panic_handler].
2026-05-25 17:13:05 +02:00

8 lines
191 B
Rust

//@ no-prefer-dynamic
//@ needs-crate-type: dylib
#![crate_type = "dylib"]
#![feature(extern_item_impls)]
#[eii(eii1)] //~ ERROR `#[eii1]` function required, but not found
fn decl1(x: u64);