rust/tests/ui/proc-macro/auxiliary/hygiene_example.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
183 B
Rust
Raw Normal View History

//@ proc-macro: hygiene_example_codegen.rs
2017-03-31 04:06:28 +00:00
extern crate hygiene_example_codegen;
pub use hygiene_example_codegen::hello;
pub fn print(string: &str) {
println!("{}", string);
}