about summary refs log tree commit diff
path: root/compiler/rustc_lexer/src
AgeCommit message (Expand)AuthorLines
2021-12-03Auto merge of #91393 - Julian-Wollersberger:lexer_optimization, r=petrochenkovbors-25/+28
2021-12-01Replace `nth_char(0)` with `next()` in `cursor.first()`Julian Wollersberger-25/+28
2021-11-23udpate comment to be more accurateEsteban Kuber-2/+1
2021-11-23Tokenize emoji as if they were valid indentifiersEsteban Kuber-0/+25
2021-11-06use matches!() macro in more placesMatthias Krüger-5/+4
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=pe...Matthias Krüger-5/+6
2021-10-10Apply clippy suggestionsClemens Wasser-6/+5
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-11Renamed variable str -> tail for clarityAnton Golov-5/+5
2021-08-11Warn when an escaped newline skips multiple linesAnton Golov-0/+14
2021-07-30Add warning when whitespace is not skipped after an escaped newline.Anton Golov-4/+49
2021-07-26Remove ASCII fast path from rustc_lexer::{is_id_continue, is_id_start}Ibraheem Ahmed-12/+2
2021-06-26Rename 'bad prefix' to 'unknown prefix'.Mara Bos-8/+8
2021-06-26Improve comments for reserved prefixes.Mara Bos-2/+7
2021-06-26Reserve prefixed identifiers and string literals (RFC 3101)lrh2000-5/+12
2021-04-08Fix outdated crate names in compiler docspierwill-3/+3
2021-01-07Return EOF_CHAR constant instead of magic char.Hanzhen Liang-1/+1
2020-12-18Fix typoHirochika Matsumoto-1/+1
2020-12-03Fix some clippy lintsJoshua Nelson-5/+5
2020-10-30Add back missing commentsJoshua Nelson-0/+1
2020-10-30Fix even more clippy warningsJoshua Nelson-6/+4
2020-10-09Noticed a potential bug in `eat_while()`: it doesn't account for number of UT...Julian Wollersberger-20/+14
2020-09-21Fix typo in rustc_lexer docsLingMan-1/+1
2020-09-02lexer: Tiny improvement to shebang detectionVadim Petrochenkov-5/+9
2020-08-30Move lexer unit tests to rustc_lexerAleksey Kladov-20/+140
2020-08-30mv compiler to compiler/mark-0/+1687