Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 261 Bytes
// build-pass (FIXME(62277): could be check-pass?)
// aux-build:duplicate.rs
extern crate duplicate;
#[duplicate::duplicate]
use main as _; // OK
macro_rules! duplicate {
($item: item) => { $item $item }
}
duplicate!(use std as _;); // OK
fn main() {}
You can’t perform that action at this time.