Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
proc-macro
/
auxiliary
/
derive-nothing.rs
blob: eefa2c40ac36df02c2619350b402578580785052 [
file
] [
log
] [
blame
]
extern
crate proc_macro
;
use
proc_macro
::
TokenStream
;
#[
proc_macro_derive
(
Nothing
)]
pub
fn
nothing
(
input
:
TokenStream
)
->
TokenStream
{
""
.
parse
().
unwrap
()
}