mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
87b2796ee6
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
10 lines
180 B
Rust
10 lines
180 B
Rust
//@ proc-macro: external-macro-use.rs
|
|
|
|
extern crate external_macro_use;
|
|
|
|
#[unsafe(external_macro_use::a)]
|
|
//~^ ERROR unnecessary `unsafe` on safe attribute
|
|
fn f() {}
|
|
|
|
fn main() {}
|