about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/format.rs
AgeCommit message (Expand)AuthorLines
2025-07-28Complete span lowering.Camille GILLOT-0/+2
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-2/+2
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-1/+8
2025-06-19Use expr_ref.Mara Bos-2/+1
2025-06-18Fix span of AddrOf in format_args!() expansion.Mara Bos-1/+1
2025-06-18Allow storing `format_args!()` in `let`.Mara Bos-129/+78
2025-05-22Rename `kw::Empty` as `sym::empty`.Nicholas Nethercote-2/+2
2025-03-30Simplify expansion for format_args!().Mara Bos-15/+13
2025-03-12Reduce FormattingOptions to 64 bits.Mara Bos-19/+21
2025-03-10Limit formatting width and precision to 16 bits.Mara Bos-1/+1
2025-02-08Rustfmtbjorn3-3/+6
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+5
2024-08-28fmt-debug optionKornel-2/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+7
2024-04-15Improve semantics of int_ty_max functionsninad-34/+26
2024-04-14Fix formattingninad-1/+3
2024-04-14Don't inline integer literals when out of rangeninad-77/+123
2024-03-18do not eat nested exprs result in format args visitorRémy Rakic-2/+1
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-8/+11
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-10remove redundant importssurechen-1/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-13Format all the let chains in compilerMichael Goulet-2/+5
2023-10-03Optimize some `alloc_from_iter` call sites.Nicholas Nethercote-29/+18
2023-05-09Limit lifetime of format_args!() with inlined args.Mara Bos-1/+24
2023-05-01Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naberMatthias Krüger-1/+1
2023-04-27Tweak await spanMichael Goulet-1/+1
2023-04-24Restructure std::fmt::rt a bit.Mara Bos-1/+1
2023-04-24Remove "V1" from ArgumentsV1 and FlagsV1.Mara Bos-9/+9
2023-04-20Update comments in format args lowering.Mara Bos-7/+7
2023-03-27Use span of placeholders in format_args!() expansion.Mara Bos-23/+43
2023-03-16Gate fmt args flattening behind -Zflatten-format-args.Mara Bos-2/+5
2023-03-16Don't allow new const panic through format flattening.Mara Bos-1/+17
2023-03-16Also inline integer literals into format_args!().Mara Bos-5/+18
2023-03-16Check all arg indexes before removing inlined format args.Mara Bos-13/+15
2023-03-16Remove unreachable branch in format_args ast lowering.Mara Bos-19/+8
2023-03-16Fix argument index remapping in format_args flattening.Mara Bos-28/+36
2023-03-16Only inline `{}` string literals in format_args.Mara Bos-0/+1
2023-03-16Support flattening/inlining format_args through & and ().Mara Bos-6/+12
2023-03-16Inline string literals into format_args!().Mara Bos-3/+61
2023-03-16Coalesce adjacent literal pieces in expand_format_args.Mara Bos-16/+16
2023-03-16Flatten nested format_args!() into one.Mara Bos-2/+100
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-3/+16
2023-01-27Destructure format_options in make_format_spec.Mara Bos-11/+21
2023-01-27Replace format flags u32 by enums and bools.Mara Bos-1/+8
2023-01-13Change not-so-permanent link to a more permanent link.Mara Bos-1/+1
2023-01-12Add note on optimization in format args ast lowering.Mara Bos-0/+3
2023-01-12Update comments in rustc_ast_lowering/src/format.rs.Mara Bos-22/+51