mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 15:07:53 +00:00
10 lines
385 B
Rust
10 lines
385 B
Rust
#![crate_type = "lib"]
|
|
|
|
macro_rules! sample { () => {} }
|
|
|
|
#[sample] //~ ERROR cannot find attribute `sample` in this scope
|
|
#[derive(sample)] //~ ERROR cannot find derive macro `sample` in this scope
|
|
//~| ERROR cannot find derive macro `sample` in this scope
|
|
//~| ERROR cannot find derive macro `sample` in this scope
|
|
pub struct S {}
|