about summary refs log tree commit diff
path: root/compiler/rustc_lexer
AgeCommit message (Expand)AuthorLines
2025-09-22Fix a crash/mislex when more than one frontmatter closing possibility is cons...Alex-1/+3
2025-09-03Rollup merge of #146106 - epage:whitespace, r=fee1-deadStuart Cook-15/+28
2025-09-02Revert introduction of `[workspace.dependencies]`.Nicholas Nethercote-1/+1
2025-09-01fix(lexer): Only allow horizontal whitespace in frontmatterEd Page-3/+18
2025-09-01docs(lexer): Organize and document whitespace by Pattern_White_SpaceEd Page-12/+10
2025-08-28fix(lexer): Don't require frontmatters to be escaped with indented fencesEd Page-21/+13
2025-08-28Remove unnecessary `[dependencies.unicode-properties]` entries.Nicholas Nethercote-5/+1
2025-08-27Add `memchr` to `[workspace.dependencies]`.Nicholas Nethercote-1/+1
2025-08-22fix(lexer): Allow '-' in the infostring continue setEd Page-2/+2
2025-07-10test(lexer): Add frontmatter unit testEd Page-2/+84
2025-07-09feat(lexer): Allow including frontmatter with 'tokenize'Ed Page-11/+21
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-06rustc_lexer: typo fix + small cleanupsMarijn Schouten-10/+8
2025-06-04Fix parsing of frontmatters with inner hyphensMatthew Jasper-1/+3
2025-05-05Implement RFC 3503: frontmattersDeadbeef-9/+162
2025-04-04Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crateGuillaume Gomez-725/+0
2025-03-18Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retriev...Ralf Jung-4/+725
2025-03-17Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retrieval_metho...Jacob Pratt-725/+4
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-3/+1
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+3
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-22Upgrade the compiler to edition 2024Michael Goulet-1/+1
2025-02-10Reexport `literal-escaper` from `rustc_lexer` to allow rust-analyzer to compileGuillaume Gomez-0/+4
2025-02-10Extract `unescape` from `rustc_lexer` into its own crateGuillaume Gomez-725/+0
2025-02-08Rustfmtbjorn3-16/+34
2025-02-05implement `eat_until` leveraging memchr in lexergvozdvmozgu-2/+10
2024-12-09Add test to check unicode identifier versionEric Huss-0/+1
2024-12-01Revert "Reject raw lifetime followed by \' as well"Michael Goulet-11/+1
2024-11-25Clean up `c_or_byte_string`.Nicholas Nethercote-4/+4
2024-11-25Improve `strip_shebang` testing.Nicholas Nethercote-41/+31
2024-11-19Remove `TokenKind::InvalidPrefix`.Nicholas Nethercote-13/+8
2024-11-19Improve `TokenKind` comments.Nicholas Nethercote-41/+39
2024-11-19Improve `fake_ident_or_unknown_prefix`.Nicholas Nethercote-6/+5
2024-10-30Reject raw lifetime followed by \' as wellMichael Goulet-1/+11
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-8/+85
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-35/+17
2024-09-06Add initial support for raw lifetimesMichael Goulet-1/+12
2024-09-06Format lexerMichael Goulet-1/+1
2024-09-06Reserve prefix lifetimes tooMichael Goulet-9/+17
2024-08-27Add `warn(unreachable_pub)` to `rustc_lexer`.Nicholas Nethercote-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-0/+2
2024-04-24Improved the compiler code with clippyMichael Scholten-5/+5
2024-04-10Properly handle emojis as literal prefix in macrosEsteban Küber-1/+5
2024-03-17Silence redundant error on char literal that was meant to be a string in 2021...Esteban Küber-0/+9
2024-03-17Handle str literals written with `'` lexed as lifetimeEsteban Küber-1/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+1
2024-01-25Use `unescape_unicode` for raw C string literals.Nicholas Nethercote-19/+14