about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/lexer/mod.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-15Remove `LitError::LexerError`.Nicholas Nethercote-15/+15
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-8/+8
2024-01-25Use `unescape_unicode` for raw C string literals.Nicholas Nethercote-1/+1
2024-01-25Rename the unescaping functions.Nicholas Nethercote-12/+12
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-4/+4
2024-01-11Fix lifetimes in `StringReader`.Nicholas Nethercote-12/+12
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-6/+6
2024-01-08Remove `DiagnosticBuilder::delay_as_bug_without_consuming`.Nicholas Nethercote-1/+1
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-36/+37
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-3/+3
2024-01-04Inline and remove `StringReader::struct_fatal_span_char`.Nicholas Nethercote-22/+11
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-8/+8
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+15
2023-12-19Add `EmitResult` associated type to `EmissionGuarantee`.Nicholas Nethercote-2/+4
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-10/+10
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-1/+1
2023-12-01Auto merge of #117472 - jmillikin:stable-c-str-literals, r=Nilstriebbors-3/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-01Stabilize C string literalsJohn Millikin-3/+0
2023-10-30When encountering unclosed delimiters during parsing, check for diff markersEsteban Küber-6/+8
2023-08-13Remove reached_eof from ParseSessbjorn3-1/+0
2023-07-25extract common codeDeadbeef-11/+10
2023-07-23reimplement C string literalsDeadbeef-1/+25
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-1/+1
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-3/+60
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-02make cook genericDeadbeef-37/+27
2023-05-02make it semantic errorDeadbeef-0/+3
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+64
2023-04-25Fix static string lintsclubby789-5/+1