mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
12 lines
238 B
Rust
12 lines
238 B
Rust
#![feature(track_path)]
|
|
#![crate_type = "proc-macro"]
|
|
|
|
extern crate proc_macro;
|
|
use proc_macro::*;
|
|
|
|
#[proc_macro]
|
|
pub fn access_tracked_paths(_: TokenStream) -> TokenStream {
|
|
tracked_path::path("emojis.txt");
|
|
TokenStream::new()
|
|
}
|