about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-08-27Fix format string grammar in docs and improve alignment error messageNilotpal Gupta-1/+3
2025-06-23update to literal-escaper 0.0.4 for better API without `unreachable` and fast...Marijn Schouten-2/+1
2025-06-09Introduce ParseMode::diagnostic and fix multiline spansmejrs-0/+22
2025-06-09rename Parser's lifetime to `'input`mejrs-29/+29
2025-06-09implement Default for FormatSpecmejrs-52/+10
2025-06-09refactor matching and if let chainsmejrs-46/+37
2025-06-09Move the "missing closing brace" error creation to one placemejrs-21/+15
2025-06-09rustc_parse_format: introduce `peek` and `peek_ahead`mejrs-28/+36
2025-05-06Remove duplicate impl of string unescapeMarijn Schouten-499/+313
2025-05-03Just suggest positional arg and adjust issue0139104 ui testxizheyin-66/+50
2025-04-25Check if format argument is identifier to avoid error err-emitxizheyin-45/+90
2025-04-04Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crateGuillaume Gomez-6/+4
2025-03-23Slim `rustc_parse_format` dependencies downLukas Wirth-1/+1
2025-03-18Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retriev...Ralf Jung-6/+5
2025-03-17Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retrieval_metho...Jacob Pratt-5/+6
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Matthias Krüger-1/+0
2025-03-11Auto merge of #136932 - m-ou-se:fmt-width-precision-u16, r=scottmcmbors-9/+9
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Limit formatting width and precision to 16 bits.Mara Bos-9/+9
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-02-10Extract `unescape` from `rustc_lexer` into its own crateGuillaume Gomez-5/+6
2025-02-08Rustfmtbjorn3-40/+61
2025-01-29use impl Into<String>Marijn Schouten-10/+5
2025-01-28parse_format optimize import useMarijn Schouten-24/+17
2025-01-23Rollup merge of #135920 - hkBst:patch-16, r=SparrowLiiMatthias Krüger-7/+1
2025-01-23simplify parse_format::Parser::ws by using next_ifMarijn Schouten-7/+1
2025-01-22remove implied end of sliceMarijn Schouten-1/+1
2024-12-30add suggestion for wrongly ordered format parametersDavis Muro-0/+35
2024-10-14Remove `'apostrophes'` from `rustc_parse_format`Lieselotte-4/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-51/+33
2024-08-29Add `warn(unreachable_pub)` to `rustc_parse_format`.Nicholas Nethercote-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-3/+5
2024-05-30Apply x clippy --fix and x fmtr0cky-10/+8
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-16Extend format arg help for simple tuple index access expression许杰友 Jieyou Xu (Joe)-15/+37
2024-02-17remove a couple of redundant clonesMatthias Krüger-1/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-25Rename the unescaping functions.Nicholas Nethercote-1/+1
2024-01-22Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=Waff...Matthias Krüger-2/+3
2024-01-08Removing redudant note from parse errorMads Ravn-1/+1
2024-01-07Adding alignment to the list of cases to test for specific error message. Cov...Mads Ravn-6/+22
2023-12-20Undeprecate and use lint `unstable_features`León Orell Valerian Liehr-2/+3
2023-11-11Make rustc_parse_format compile on stable againLeón Orell Valerian Liehr-5/+2
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+3
2023-09-17Rollup merge of #115611 - lukas-code:format!("{r#ident}"), r=compiler-errorsDylan DPC-7/+47
2023-09-06add diagnostic for raw identifiers in format stringLukas Markeffsky-7/+47
2023-09-05Replace data_structures dependency with index in rustc_parse_formatLukas Wirth-1/+1