Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
proc-macro
/
auxiliary
/
derive-nothing.rs
blob: adf9b4e83fdfaf22d59b65be51b0144580c77ffc [
file
] [
log
] [
blame
] [
edit
]
//@ force-host
//@ no-prefer-dynamic
#![
crate_type
=
"proc-macro"
]
extern
crate proc_macro
;
use
proc_macro
::
TokenStream
;
#[
proc_macro_derive
(
Nothing
)]
pub
fn
nothing
(
input
:
TokenStream
)
->
TokenStream
{
""
.
parse
().
unwrap
()
}