about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/format.rs
AgeCommit message (Expand)AuthorLines
2022-07-31Always include a position span in rustc_parse_format::ArgumentAlex Macleod-6/+8
2022-07-28Use more idiomatic rust, comment for lint logicPreston From-50/+79
2022-07-25Use Span::from_inner and make changes to precision inner span clearerPreston From-16/+14
2022-07-25Generate correct suggestion with named arguments used positionallyPreston From-60/+187
2022-07-20Rollup merge of #99508 - TaKO8Ki:avoid-symbol-to-string-conversion-in-Builtin...Matthias Krüger-3/+1
2022-07-20Fix off by one error and add ui test.miam-miam100-1/+1
2022-07-20avoid a `Symbol` to `String` conversionTakayuki Maeda-3/+1
2022-07-15Only suggest if span is not erroneousMichael Goulet-1/+1
2022-07-15Fix ICE in named_arguments_used_positionally lintMichael Goulet-9/+8
2022-07-13Emit warning when named arguments are used positionally in formatPreston From-13/+72
2022-06-23Rename some `ExtCtxt` methods.Nicholas Nethercote-3/+3
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-1/+1
2022-05-03Make rustc_parse_format compile on stablebjorn3-11/+23
2022-04-05span: move `MultiSpan`David Wood-4/+7
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-2/+2
2022-02-16Correctly mark the span of captured arguments in `format_args!()`Chayim Refael Friedman-13/+13
2022-02-07Rollup merge of #93394 - m-ou-se:fix-93378, r=estebankMara Bos-11/+24
2022-01-31Rollup merge of #93461 - dtolnay:fmtyield, r=davidtwcoMatthias Krüger-4/+51
2022-01-31Auto merge of #90891 - nbdd0121:format, r=Mark-Simulacrumbors-4/+14
2022-01-30Mac callsDavid Tolnay-3/+5
2022-01-30Accommodate yield points in the format_args expansionDavid Tolnay-4/+49
2022-01-29Rename _args -> args in format_args expansionDavid Tolnay-3/+3
2022-01-29Create `core::fmt::ArgumentV1` with generics instead of fn pointerGary Guo-4/+14
2022-01-28Don't allow {} to refer to implicit captures in format_args.Mara Bos-11/+24
2022-01-17Fix comment about spans during borrowck per PR 91359 reviewDavid Tolnay-1/+1
2022-01-17Replace confusing is_sorted_by in format_args implementationDavid Tolnay-13/+15
2022-01-17Emit simpler code from format_argsDavid Tolnay-61/+75
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-10Rollup merge of #91625 - est31:remove_indexes, r=oli-obkMatthias Krüger-1/+1
2021-12-09Fix span calculation on secondary_label as wellMichael Goulet-2/+3
2021-12-09Remove redundant [..]sest31-1/+1
2021-11-29Rollup merge of #91327 - dtolnay:exact, r=michaelwoeristerMatthias Krüger-8/+4
2021-11-28Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillotMatthias Krüger-1/+4
2021-11-28Delete an unreachable codepath from format_args implementationDavid Tolnay-8/+4
2021-11-15Stabilize format_args_captureJosh Triplett-26/+10
2021-11-06Factor out some VecsCameron Steffen-9/+6
2021-11-06Don't destructure args tuple in format_args!Cameron Steffen-14/+6
2021-10-29Fix a format_args span to be expansionCameron Steffen-1/+4
2021-09-29Improve error message for `printf`-style format stringsFabian Wolff-5/+21
2021-09-24Auto merge of #88835 - FabianWolff:issue-88770, r=petrochenkovbors-16/+15
2021-09-21Use ZST for fmt unsafetyCameron Steffen-18/+14
2021-09-10Fix error recovery in format macro parsingFabian Wolff-16/+15
2021-09-10Rollup merge of #87441 - ibraheemdev:i-86865, r=cjgillotManish Goregaokar-7/+9
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-0/+1
2021-08-31emit suggestion byte literal is passed to `format!`ibraheemdev-7/+9
2021-08-16Make Arguments constructors unsafeCameron Steffen-7/+23
2021-06-07Fix span calculation in format stringsFabian Wolff-1/+14
2021-02-16avoid full-slicing slicesMatthias Krüger-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+1
2020-09-08Point at named argument not found when using `format_args_capture` instead of...Esteban Küber-3/+6