about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/format.stderr
AgeCommit message (Collapse)AuthorLines
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-1/+1
2025-05-01Clean up "const" situation in format_args!().Mara Bos-4/+4
Rather than marking the Argument::new_display etc. functions as non-const, this marks the Arguments::new_v1 functions as non-const.
2025-04-30Add test for format_args!("{}", 0) in const.Mara Bos-1/+9
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-1/+0
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
2025-01-05[generic_assert] Constify methods used by the formatting systemCaio-21/+3
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-3/+3
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-2/+2
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-56/+0
When constant evaluation fails because its MIR is tainted by errors, suppress note indicating that erroneous constant was used, since those errors have to be fixed regardless of the constant being used or not.
2023-03-27Bless UI tests.Mara Bos-4/+4
2023-03-16Don't allow new const panic through format flattening.Mara Bos-10/+19
panic!("a {}", "b") is still not allowed in const, even if the hir flattens to panic!("a b").
2023-01-11Move /src/test to /testsAlbert Larsan-0/+95