diff options
| author | bors <bors@rust-lang.org> | 2018-04-01 07:22:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-01 07:22:28 +0000 |
| commit | 85f0098405425829bfc6dfcd4621926c9218b39a (patch) | |
| tree | 9a4287bcd89ef47d9ecb72977b771a23fc6930d9 /src/rustllvm/RustWrapper.cpp | |
| parent | 804d8c88d973d8a2dff5ddad11893a57ccf37956 (diff) | |
| parent | ec1a8f081f9b3b792bdc964ecdd2d272f8fe859d (diff) | |
| download | rust-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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
