Files
rust/src/libsyntax
bors ba1363ffe1 Auto merge of #50924 - petrochenkov:spanover, r=alexcrichton
lexer: Fix span override for the first token in a string

Previously due to peculiarities of `StringReader` construction something like `"a b c d".parse::<TokenStream>()` gave you one non-overridden span for `a` and then three correctly overridden spans for `b`, `c` and `d`.
Now all the spans are overridden.
2018-05-21 03:36:30 +00:00
..
2018-03-18 20:46:29 -03:00
2016-11-21 09:00:56 +00:00
2018-04-25 14:55:25 -07:00
2018-05-17 23:13:08 +03:00
2018-05-13 17:16:02 +10:00
2018-05-17 23:13:08 +03:00
2018-05-18 22:20:33 +10:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: