diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-04 15:09:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-04 15:09:06 +0200 |
| commit | c18c194518d0439202fde88faeeafc91169f6766 (patch) | |
| tree | 31d526c4f740451556b58a654f1c41f030565dde /src/test/incremental/thinlto | |
| parent | 05c31baf83ffe6f96ee379d00a236356ce39fd6d (diff) | |
| parent | 1763aea7ba039235baebd8f116b91a21df39778a (diff) | |
| download | rust-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
