about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/format.rs
AgeCommit message (Expand)AuthorLines
2022-08-25Separate CountIsStar from CountIsParam in rustc_parse_format.Mara Bos-6/+6
2022-08-23Rollup merge of #100851 - Alexendoo:rpf-width-prec-spans, r=fee1-deadDylan DPC-11/+16
2022-08-21Fix rustc_parse_format precision & width spansAlex Macleod-11/+16
2022-08-22Remove redundant clonefinalchild-1/+1
2022-08-22Use DiagnosticMessage for BufferedEarlyLint.msgfinalchild-1/+1
2022-08-16Make `ExtCtxt::expr_lit` non-`pub`.Nicholas Nethercote-1/+1
2022-08-08Get rid of named_pos in format_args impl.Mara Bos-5/+1
2022-08-08Simplify format_args builtin macro implementation.Mara Bos-86/+64
2022-08-04Rollup merge of #100058 - TaKO8Ki:suggest-positional-formatting-argument-inst...Matthias Krüger-8/+32
2022-08-04return when captured argument is not a struct fieldTakayuki Maeda-7/+8
2022-08-03suggest a positional formatting argument instead of a captured argumentTakayuki Maeda-8/+31
2022-08-02Rollup merge of #99958 - PrestonFrom:issue_99907, r=compiler-errorsMatthias Krüger-25/+59
2022-08-02Move if-block into closure to reduce duplicate codePreston From-7/+5
2022-08-02Improve position named arguments lint underline and formatting namesPreston From-25/+61
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