about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-04 15:09:06 +0200
committerGitHub <noreply@github.com>2019-04-04 15:09:06 +0200
commitc18c194518d0439202fde88faeeafc91169f6766 (patch)
tree31d526c4f740451556b58a654f1c41f030565dde /src/test/incremental/thinlto
parent05c31baf83ffe6f96ee379d00a236356ce39fd6d (diff)
parent1763aea7ba039235baebd8f116b91a21df39778a (diff)
downloadrust-c18c194518d0439202fde88faeeafc91169f6766.tar.gz
rust-c18c194518d0439202fde88faeeafc91169f6766.zip
Rollup merge of #59671 - matklad:lexer, r=eddyb
Make some of lexer's API private

Lexer is a `pub` type, so it feels wrong that its fields are just pub (I guess it wasn't exported initially), so let's minimize visibility.

Context: I am looking into extracting rust-lexer into a library, which can be shared by rust-analyzer and rustc. I hope that a simple interface like `fn next_token(src: &str) -> (TokenKind, usize)` would work, but to try this out I need to understand what is the current API of the lexer.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions