rustc-ap-rustc_macros 542.0.0

Automatically published version of the package `rustc_macros` in the rust-lang/rust repository from commit 8b94e9e9188b65df38a5f1ae723617dc2dfb3155 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
Documentation
#![feature(proc_macro_hygiene)]
#![cfg_attr(not(bootstrap), allow(rustc::default_hash_types))]

#![recursion_limit="128"]

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);