about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-09-05Replace data_structures dependency with index in rustc_parse_formatLukas Wirth-1/+1
2023-07-19Improve error message when closing bracket interpreted as formatting fill cha...Michael Goulet-58/+45
2023-07-19Fix quotes in outputMichael Goulet-1/+1
2023-04-10Fix typos in compilerDaniPopes-1/+1
2023-03-14Improve heuristics for format_args literal being suggestableNilstrieb-1/+35
2023-03-14Properly allow macro expanded `format_args` invocations to uses capturesNilstrieb-8/+10
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-1/+1
2023-02-10remove redundant clonesMatthias Krüger-3/+1
2023-02-03Rollup merge of #106805 - madsravn:master, r=compiler-errorsMatthias Krüger-1/+28
2023-02-02PR fixing wrong order of format parameters in strings. Issue #106572Mads Ravn-1/+28
2023-01-27Replace format flags u32 by enums and bools.Mara Bos-28/+37
2023-01-18Revert "Improve heuristics whether `format_args` string is a source literal"Nilstrieb-35/+2
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-4/+4
2022-12-28Add enum for `find_width_map_from_snippet`Nilstrieb-7/+18
2022-12-28Improve heuristics whether `format_args` string is a source literalNilstrieb-1/+36
2022-12-26Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillotbors-48/+79
2022-12-08Assert size of `rustc_parse_format::Piece<'_>`Maybe Waffle-0/+4
2022-12-06Box `rustc_parse_format::Piece::NextArgument`Maybe Waffle-3/+3
2022-11-21Fix incorrect span when using byte-escaped rbraceCassaundra Smith-48/+79
2022-11-15shift no characters when using raw string literalsTakayuki Maeda-76/+74
2022-10-27Fix rustc_parse_format spans following escaped utf-8 multibyte charsAlex Macleod-18/+29
2022-10-01Detect and reject out-of-range integers in format string literalsColin Baumgarten-4/+24
2022-09-28Fix span of byte-escaped left format args braceCassaundra Smith-1/+1
2022-08-25Separate CountIsStar from CountIsParam in rustc_parse_format.Mara Bos-1/+3
2022-08-21Fix rustc_parse_format precision & width spansAlex Macleod-43/+38
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-08-04add a comment about what we can parse nowTakayuki Maeda-0/+2
2022-08-04return when captured argument is not a struct fieldTakayuki Maeda-13/+12
2022-08-03suggest a positional formatting argument instead of a captured argumentTakayuki Maeda-7/+41
2022-07-31Always include a position span in rustc_parse_format::ArgumentAlex Macleod-20/+20
2022-07-25Generate correct suggestion with named arguments used positionallyPreston From-4/+16
2022-07-20Add diagnostic width span when '0$' is used as width.miam-miam100-1/+2
2022-05-03Make rustc_parse_format compile on stablebjorn3-16/+28
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-02-16Correctly mark the span of captured arguments in `format_args!()`Chayim Refael Friedman-6/+10
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-03-28Rollup merge of #83348 - osa1:issue83344, r=jackh726Yuki Okushi-4/+6
2021-03-27format macro argument parsing fixÖmer Sinan Ağacan-4/+6
2021-03-27Rollup merge of #83343 - osa1:issue83340, r=jackh726Yuki Okushi-14/+9
2021-03-21Simplify and fix byte skipping in format! string parserÖmer Sinan Ağacan-14/+9
2021-03-19stabilize or_patternsmark-1/+1
2021-02-06parse_format: treat r" as a literalDavid Hewitt-1/+1
2021-01-17rustc_parse_format: Fix character indices in find_skipsÖmer Sinan Ağacan-1/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-2/+2
2020-09-23/nightly/nightly-rustcErik Hofmayer-1/+1
2020-09-23Updated html_root_url for compiler cratesErik Hofmayer-1/+1
2020-09-21Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPCecstatic-morse-6/+3
2020-09-20use if let instead of single match arm expressions to compact code and reduce...Matthias Krüger-6/+3
2020-09-17Remove redundant #![feature(...)] 's from compiler/est31-2/+0