about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-02 14:53:46 -0500
committerGitHub <noreply@github.com>2017-03-02 14:53:46 -0500
commitc883f4f584bf55ec3c3d0bbd22957a7e6654e3b9 (patch)
tree4f88f98fa7272576b878096fd4045c332599a4be /src/test/run-pass/thinlto
parent0536fd6396133189fb4a41377d3972cd312078a0 (diff)
parent2fcbb48c727e82ea8751d6476d86fd3c6fe16b42 (diff)
downloadrust-c883f4f584bf55ec3c3d0bbd22957a7e6654e3b9.tar.gz
rust-c883f4f584bf55ec3c3d0bbd22957a7e6654e3b9.zip
Rollup merge of #40129 - abonander:proc_macro_bang, r=jseyfried
Implement function-like procedural macros ( `#[proc_macro]`)

Adds the `#[proc_macro]` attribute, which expects bare functions of the kind `fn(TokenStream) -> TokenStream`, which can be invoked like `my_macro!()`.

cc rust-lang/rfcs#1913, #38356

r? @jseyfried
cc @nrc
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions