about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-01 07:22:28 +0000
committerbors <bors@rust-lang.org>2018-04-01 07:22:28 +0000
commit85f0098405425829bfc6dfcd4621926c9218b39a (patch)
tree9a4287bcd89ef47d9ecb72977b771a23fc6930d9 /src/test/incremental/thinlto
parent804d8c88d973d8a2dff5ddad11893a57ccf37956 (diff)
parentec1a8f081f9b3b792bdc964ecdd2d272f8fe859d (diff)
downloadrust-85f0098405425829bfc6dfcd4621926c9218b39a.tar.gz
rust-85f0098405425829bfc6dfcd4621926c9218b39a.zip
Auto merge of #49545 - alexcrichton:proc-macro-fixes, r=eddyb
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.

Closes #48889
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions