diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-03-30 02:55:54 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-03-31 14:16:05 -0700 |
| commit | ec1a8f081f9b3b792bdc964ecdd2d272f8fe859d (patch) | |
| tree | 843eaa20de82e0f12273925ce8ea19d959c23cbe /src/test/incremental/thinlto | |
| parent | 696076144d4d904cc99c02f85cf46bbe52404657 (diff) | |
| download | rust-ec1a8f081f9b3b792bdc964ecdd2d272f8fe859d.tar.gz rust-ec1a8f081f9b3b792bdc964ecdd2d272f8fe859d.zip | |
proc_macro: Tweak doc comments and negative literals
This commit tweaks the tokenization of a doc comment to use `#[doc = "..."]` like `macro_rules!` does (instead of treating it as a `Literal` token). Additionally it fixes treatment of negative literals in the compiler, for exapmle `Literal::i32(-1)`. The current fix is a bit of a hack around the current compiler implementation, providing a fix at the proc-macro layer rather than the libsyntax layer.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
