rustc-ap-rustc_macros 465.0.0

Automatically published version of the package `rustc_macros` in the rust-lang/rust repository from commit 03bd2f653f0d0adb69d862fbeec64663157e71e1 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
Documentation
#![feature(proc_macro_hygiene)]
#![deny(rust_2018_idioms)]

extern crate proc_macro;

use synstructure::decl_derive;

use proc_macro::TokenStream;

mod hash_stable;
mod query;
mod symbols;

#[proc_macro]
pub fn rustc_queries(input: TokenStream) -> TokenStream {
    query::rustc_queries(input)
}

#[proc_macro]
pub fn symbols(input: TokenStream) -> TokenStream {
    symbols::symbols(input)
}

decl_derive!([HashStable, attributes(stable_hasher)] => hash_stable::hash_stable_derive);