about summary refs log tree commit diff
path: root/src/libsyntax_ext/assert.rs
AgeCommit message (Collapse)AuthorLines
2018-05-22rustc: Correctly pretty-print macro delimitersAlex Crichton-0/+1
This commit updates the `Mac_` AST structure to keep track of the delimiters that it originally had for its invocation. This allows us to faithfully pretty-print macro invocations not using parentheses (e.g. `vec![...]`). This in turn helps procedural macros due to #43081. Closes #50840
2018-05-06Fix assertion message generationShotaro Yamada-57/+4
2018-04-06Remove more duplicated spansVadim Petrochenkov-1/+2
2018-04-06Use `Span::apply_mark` where possibleVadim Petrochenkov-1/+1
2018-03-14Escape stringified expressionShotaro Yamada-5/+63
Payload of `Literal` token must be escaped. Also print printable non-ASCII characters.
2018-03-07Make `assert` macro a built-in procedural macroShotaro Yamada-0/+64