rust/tests/ui/lint/semicolon-in-expressions-from-macros/foreign-crate.rs
2024-02-16 20:02:50 +00:00

10 lines
189 B
Rust

//@ aux-build:foreign-crate.rs
//@ check-pass
extern crate foreign_crate;
// Test that we do not lint for a macro in a foreign crate
fn main() {
let _ = foreign_crate::my_macro!();
}