about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-05-06 11:53:40 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-07-20 21:12:34 +0300
commit395ee0b79f23b90593b01dd0a78451b8c93b0aa6 (patch)
tree46544580dab78a9ce0e2ad59231c65709955ba2d /src/test/ui/thinlto
parent95b1fe560d2bd8472f250fb8cfd2168520a58405 (diff)
downloadrust-395ee0b79f23b90593b01dd0a78451b8c93b0aa6.tar.gz
rust-395ee0b79f23b90593b01dd0a78451b8c93b0aa6.zip
Introduce rustc_lexer
The idea here is to make a reusable library out of the existing
rust-lexer, by separating out pure lexing and rustc-specific concerns,
like spans, error reporting an interning.

So, rustc_lexer operates directly on `&str`, produces simple tokens
which are a pair of type-tag and a bit of original text, and does not
report errors, instead storing them as flags on the token.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions