summaryrefslogtreecommitdiff
path: root/compiler/rustc_parse/src/lexer/mod.rs
Commit message (Expand)AuthorAgeFilesLines
* Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC2023-05-051-3/+60
|\
| * make cook genericDeadbeef2023-05-021-37/+27
| * make it semantic errorDeadbeef2023-05-021-0/+3
| * initial step towards implementing C string literalsDeadbeef2023-05-021-0/+64
* | Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-031-2/+2
|/
* Fix static string lintsclubby7892023-04-251-5/+1
* Spelling - compilerJosh Soref2023-04-171-1/+1
* Rollup merge of #110135 - compiler-errors:revert-108031, r=davidtwcoMatthias Krüger2023-04-121-7/+2
|\
| * Revert "Don't recover lifetimes/labels containing emojis as character literals"Michael Goulet2023-04-101-7/+2
* | Remove identity castsNilstrieb2023-04-091-2/+2
|/
* Replace another lock with an append-only vecOli Scherer2023-04-041-1/+1
* refactor parse_token_trees to not return unmatched_delimsyukang2023-02-281-3/+26
* rename unmatched_braces to unmatched_delimsyukang2023-02-281-2/+2
* Don't recover lifetimes/labels containing emojis as character literals许杰友 Jieyou Xu (Joe)2023-02-141-2/+7
* Migrate `rustc_parse` to derive diagnosticsclubby7892023-02-061-112/+47
* Improve unexpected close and mismatch delimiter hint in TokenTreesReaderyukang2023-01-271-0/+1
* Emit only one nbsp error per fileDavid Tolnay2023-01-141-5/+26
* Emit a single error for contiguous sequences of Unicode homoglyphsclubby7892023-01-121-4/+24
* Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote2022-11-161-1/+12
* Rollup merge of #103919 - nnethercote:unescaping-cleanups, r=matkladDylan DPC2022-11-091-59/+48
|\
| * Inline and remove `validate_int_literal`.Nicholas Nethercote2022-11-041-18/+13
| * Refactor `cook_lexer_literal`.Nicholas Nethercote2022-11-041-42/+36
* | Make underscore_literal_suffix a hard error.Nicholas Nethercote2022-11-071-11/+1
|/
* Recover unclosed char literal being parsed as lifetimeMichael Goulet2022-10-221-2/+7
* Merge `parse_token_trees_until_close_delim` and `parse_all_token_trees`.Nicholas Nethercote2022-10-031-1/+1
* Address review comments.Nicholas Nethercote2022-09-281-1/+1
* Inline and remove `cook_lexer_token`.Nicholas Nethercote2022-09-261-171/+174
* Add `rustc_lexer::TokenKind::Eof`.Nicholas Nethercote2022-09-261-8/+2
* Use less DRY in `cook_lexer_token`.Nicholas Nethercote2022-09-261-19/+19
* Make `rustc_lexer::cursor::Cursor` public.Nicholas Nethercote2022-09-261-10/+13
* [ui] Rearrange `StringReader`/`TokenTreesReader` creation.Nicholas Nethercote2022-09-261-1/+2
* Clarify spacing computation.Nicholas Nethercote2022-09-261-7/+8
* Move `#!` checking.Nicholas Nethercote2022-09-261-9/+8
* Remove unnecessary `spacing` assignment.Nicholas Nethercote2022-09-261-1/+0
* Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer2022-09-011-2/+0
* Shrink `Token`.Nicholas Nethercote2022-08-011-23/+29
* Add a size assertion for `Token`.Nicholas Nethercote2022-08-011-0/+7
* Remove `StringReader::end_src_index`.Nicholas Nethercote2022-08-011-5/+2
* Improve shebang handling.Nicholas Nethercote2022-08-011-8/+5
* Remove `crate` visibility usage in compilerJacob Pratt2022-05-201-1/+1
* errors: `span_suggestion` takes `impl ToString`David Wood2022-04-291-2/+2
* rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov2022-04-281-9/+9
* Rollup merge of #95859 - rainy-me:unterminated-nested-block-comment, r=petroc...Dylan DPC2022-04-161-10/+50
|\
| * refactor: change to use peekablerainy-me2022-04-141-20/+17
| * improve diagnostics for unterminated nested block commentrainy-me2022-04-141-10/+53
* | couple of clippy::complexity fixesMatthias Krüger2022-04-131-3/+3
|/
* Rollup merge of #95251 - GrishaVar:hashes-u16-to-u8, r=dtolnayDylan DPC2022-03-311-3/+1
|\
| * Update error message & remove outdated test commentGrisha Vartanyan2022-03-301-3/+1
* | Make fatal DiagnosticBuilder yield neverMichael Goulet2022-03-271-12/+19
|/
* rename ErrorReported -> ErrorGuaranteedmark2022-03-021-2/+2