about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-17 04:21:06 +0000
committerbors <bors@rust-lang.org>2017-05-17 04:21:06 +0000
commit42e3732d7d9c5e3d253082faa09ea348d1a0a309 (patch)
tree0a46452637c5ac5e2ea027e46320130eeec39af1 /src/rustllvm/RustWrapper.cpp
parentd8215fc238a974950fcd4155a34f5383ebb589b9 (diff)
parente616d12cbbe2b38ab3d683233e716104ca56d388 (diff)
downloadrust-42e3732d7d9c5e3d253082faa09ea348d1a0a309.tar.gz
rust-42e3732d7d9c5e3d253082faa09ea348d1a0a309.zip
Auto merge of #41476 - abonander:book_proc_macro, r=nrc
Document the `proc_macro` feature in the Unstable Book

Discusses the `proc_macro` feature flag and the features it enables:

* Implicit enable of `extern_use_macros` feature and how to import proc macros
* Error handling in proc macros (using panic messages)
* Function-like proc macros using `#[proc_macro]` and a usage example for creating and invoking
* Attribute-like proc macros using `#[proc_macro_attribute]` and a usage example for creating and invoking

[Rendered](https://github.com/abonander/rust/blob/book_proc_macro/src/doc/unstable-book/src/language-features/proc-macro.md)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions