rust/tests/ui-fulldeps/macro-crate-rlib.rs
2023-01-11 09:32:08 +00:00

9 lines
246 B
Rust

// aux-build:rlib-crate-test.rs
// ignore-cross-compile gives a different error message
#![feature(plugin)]
#![plugin(rlib_crate_test)]
//~^ ERROR: plugin `rlib_crate_test` only found in rlib format, but must be available in dylib
fn main() {}