about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-03-30 02:55:54 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-03-31 14:16:05 -0700
commitec1a8f081f9b3b792bdc964ecdd2d272f8fe859d (patch)
tree843eaa20de82e0f12273925ce8ea19d959c23cbe /src/test/incremental/thinlto
parent696076144d4d904cc99c02f85cf46bbe52404657 (diff)
downloadrust-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