about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-01-22Point at invalid utf-8 span on user's source codeEsteban Küber-4/+63
2024-12-09Add test to check unicode identifier versionEric Huss-0/+1
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-29Add `warn(unreachable_pub)` to `rustc_parser`.Nicholas Nethercote-0/+1
2024-08-11Use assert_matches around the compilerMichael Goulet-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-07-10Use `cfg_attr` as a name more.Nicholas Nethercote-3/+3
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-3/+3
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-0/+2
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-24/+30
2024-06-05Inline and remove `source_file_to_stream`.Nicholas Nethercote-9/+1
2024-06-05Reorder `source_str_to_stream` arguments.Nicholas Nethercote-3/+3
2024-06-05Inline and remove `parse_crate{,_attrs}_from_{file,source_str}`.Nicholas Nethercote-29/+0
2024-06-05Rename `maybe_source_file_to_parser` as `maybe_new_parser_from_source_file`.Nicholas Nethercote-3/+3
2024-06-05Remove low-value comments.Nicholas Nethercote-7/+0
2024-06-05Improve `panictry_buffer!`.Nicholas Nethercote-15/+12
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-10/+1
2024-06-05Rename `maybe_file_to_stream` as `maybe_source_file_to_stream`.Nicholas Nethercote-3/+3
2024-06-05Inline and remove `error_malformed_cfg_attr_missing`.Nicholas Nethercote-10/+10
2024-06-05Don't use the word "parse" for lexing operations.Nicholas Nethercote-12/+12
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_parse`.Nicholas Nethercote-3/+0
2024-05-07compiler: add `Parser::debug_lookahead`Jubilee Young-0/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-43/+43
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-6/+5
2024-02-06Invert diagnostic lints.Nicholas Nethercote-1/+3
2024-02-03Fix an incorrect comment.Nicholas Nethercote-1/+1
2024-01-25Remove unused featuresclubby789-3/+0
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-13/+13
2024-01-11Use `struct_fatal` in `new_parser_from_file`.Nicholas Nethercote-5/+4
2024-01-11Inline and remove three functions.Nicholas Nethercote-39/+14
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-5/+5
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-4/+4
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-2/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-1/+0
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-1/+1
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-08-01Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkovbors-2/+2
2023-07-31Remove `desugar_doc_comments` arg from `Parser::new()`.Nicholas Nethercote-2/+2
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-3/+3
2023-04-27Migrate trivially translatable `rustc_parse` diagnosticsclubby789-14/+3
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-1/+1
2023-03-11Simplify message pathsest31-1/+1