summaryrefslogtreecommitdiff
path: root/compiler/rustc_parse_format
Commit message (Expand)AuthorAgeFilesLines
* Fix typos in compilerDaniPopes2023-04-101-1/+1
* Improve heuristics for format_args literal being suggestableNilstrieb2023-03-141-1/+35
* Properly allow macro expanded `format_args` invocations to uses capturesNilstrieb2023-03-141-8/+10
* Replace some `then`s with some `then_some`sMaybe Waffle2023-02-161-1/+1
* `if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle2023-02-161-1/+1
* remove redundant clonesMatthias Krüger2023-02-101-3/+1
* Rollup merge of #106805 - madsravn:master, r=compiler-errorsMatthias Krüger2023-02-031-1/+28
|\
| * PR fixing wrong order of format parameters in strings. Issue #106572Mads Ravn2023-02-021-1/+28
* | Replace format flags u32 by enums and bools.Mara Bos2023-01-272-43/+97
* | Revert "Improve heuristics whether `format_args` string is a source literal"Nilstrieb2023-01-181-35/+2
|/
* Fix `uninlined_format_args` for some compiler cratesnils2023-01-051-4/+4
* Add enum for `find_width_map_from_snippet`Nilstrieb2022-12-281-7/+18
* Improve heuristics whether `format_args` string is a source literalNilstrieb2022-12-281-1/+36
* Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillotbors2022-12-261-48/+79
|\
| * Fix incorrect span when using byte-escaped rbraceCassaundra Smith2022-11-211-48/+79
* | Assert size of `rustc_parse_format::Piece<'_>`Maybe Waffle2022-12-082-0/+5
* | Box `rustc_parse_format::Piece::NextArgument`Maybe Waffle2022-12-062-43/+43
|/
* shift no characters when using raw string literalsTakayuki Maeda2022-11-151-76/+74
* Fix rustc_parse_format spans following escaped utf-8 multibyte charsAlex Macleod2022-10-271-18/+29
* Detect and reject out-of-range integers in format string literalsColin Baumgarten2022-10-012-4/+39
* Fix span of byte-escaped left format args braceCassaundra Smith2022-09-281-1/+1
* Separate CountIsStar from CountIsParam in rustc_parse_format.Mara Bos2022-08-252-2/+4
* Fix rustc_parse_format precision & width spansAlex Macleod2022-08-212-54/+68
* Add diagnostic translation lints to crates that don't emit them52252252022-08-181-0/+2
* add a comment about what we can parse nowTakayuki Maeda2022-08-041-0/+2
* return when captured argument is not a struct fieldTakayuki Maeda2022-08-041-13/+12
* suggest a positional formatting argument instead of a captured argumentTakayuki Maeda2022-08-031-7/+41
* Always include a position span in rustc_parse_format::ArgumentAlex Macleod2022-07-312-29/+81
* Generate correct suggestion with named arguments used positionallyPreston From2022-07-252-12/+36
* Add diagnostic width span when '0$' is used as width.miam-miam1002022-07-202-1/+19
* Make rustc_parse_format compile on stablebjorn32022-05-033-104/+113
* Spellchecking compiler commentsYuri Astrakhan2022-03-301-1/+1
* Correctly mark the span of captured arguments in `format_args!()`Chayim Refael Friedman2022-02-162-8/+12
* Migrate to 2021Mark Rousskov2021-09-201-1/+1
* rfc3052: Remove authors field from Cargo manifestsJade2021-07-291-1/+0
* Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez2021-07-081-2/+1
* remove cfg(bootstrap)Pietro Albini2021-05-241-1/+0
* Rollup merge of #83348 - osa1:issue83344, r=jackh726Yuki Okushi2021-03-281-4/+6
|\
| * format macro argument parsing fixÖmer Sinan Ağacan2021-03-271-4/+6
* | Rollup merge of #83343 - osa1:issue83340, r=jackh726Yuki Okushi2021-03-271-14/+9
|\ \ | |/ |/|
| * Simplify and fix byte skipping in format! string parserÖmer Sinan Ağacan2021-03-211-14/+9
* | stabilize or_patternsmark2021-03-191-1/+1
|/
* parse_format: treat r" as a literalDavid Hewitt2021-02-061-1/+1
* rustc_parse_format: Fix character indices in find_skipsÖmer Sinan Ağacan2021-01-171-1/+1
* Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan2021-01-141-2/+2
* /nightly/nightly-rustcErik Hofmayer2020-09-231-1/+1
* Updated html_root_url for compiler cratesErik Hofmayer2020-09-231-1/+1
* Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPCecstatic-morse2020-09-211-6/+3
|\
| * use if let instead of single match arm expressions to compact code and reduce...Matthias Krüger2020-09-201-6/+3
* | Remove redundant #![feature(...)] 's from compiler/est312020-09-171-2/+0
|/