about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/lexer/mod.rs
AgeCommit message (Expand)AuthorLines
2025-03-18Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retriev...Ralf Jung-3/+3
2025-03-17Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retrieval_metho...Jacob Pratt-3/+3
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-1/+1
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-8/+8
2025-02-10Extract `unescape` from `rustc_lexer` into its own crateGuillaume Gomez-3/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-13Remove `Lexer`'s dependency on `Parser`.Nicholas Nethercote-17/+23
2024-12-09Fix typo in RFC mention 3598 -> 3593Esteban Küber-1/+1
2024-12-01Only error raw lifetime followed by \' in edition 2021+Michael Goulet-2/+21
2024-11-28Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-deadGuillaume Gomez-6/+10
2024-11-25fix confusing diagnostic for reserved `##`Peter Jaszkowiak-6/+10
2024-11-25Streamline `lex_token_trees` error handling.Nicholas Nethercote-20/+14
2024-11-25Fix some formatting.Nicholas Nethercote-5/+15
2024-11-25Merge `TokenTreesReader` into `StringReader`.Nicholas Nethercote-6/+15
2024-11-19Remove `TokenKind::InvalidPrefix`.Nicholas Nethercote-3/+2
2024-10-30Enforce that raw lifetime identifiers must be valid raw identifiersMichael Goulet-4/+10
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-1/+83
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-17Store raw ident span for raw lifetimeMichael Goulet-0/+3
2024-09-06Add some more testsMichael Goulet-1/+1
2024-09-06Add initial support for raw lifetimesMichael Goulet-3/+36
2024-09-06Format lexerMichael Goulet-19/+22
2024-09-06Reserve prefix lifetimes tooMichael Goulet-0/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+8
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-5/+4
2024-06-05Don't use the word "parse" for lexing operations.Nicholas Nethercote-2/+2
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_parse`.Nicholas Nethercote-0/+1
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-2/+2
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-3/+1
2024-05-07narrow down visibilities in `rustc_parse::lexer`Lin Yihai-1/+1
2024-04-18Rollup merge of #123752 - estebank:emoji-prefix, r=wesleywiserJubilee-1/+4
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-12Rollup merge of #123223 - estebank:issue-123079, r=pnkfelixMatthias Krüger-13/+7
2024-04-10Properly handle emojis as literal prefix in macrosEsteban Küber-1/+4
2024-04-08parser: reduce visibility of unnecessary public `UnmatchedDelim`Yutaro Ohno-2/+1
2024-04-07Fix invalid silencing of parsing errorEsteban Küber-13/+7
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-17Silence redundant error on char literal that was meant to be a string in 2021...Esteban Küber-1/+10
2024-03-17review comment: `str` -> string in messagesEsteban Küber-1/+1
2024-03-17Handle str literals written with `'` lexed as lifetimeEsteban Küber-4/+42
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-18/+18
2024-02-29Rollup merge of #121724 - nnethercote:LitKind-Err-for-floats, r=fmeaseMatthias Krüger-3/+7
2024-02-28Use `LitKind::Err` for floats with unsupported bases.Nicholas Nethercote-1/+3
2024-02-28Use `LitKind::Err` for floats with empty exponents.Nicholas Nethercote-2/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-20Add newtype for raw identsclubby789-4/+4
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-10/+12
2024-02-15Make `emit_unescape_error` return `Option<ErrorGuaranteed>`.Nicholas Nethercote-8/+8