about summary refs log tree commit diff
path: root/src/test/ui/fmt/format-args-capture.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-89/+0
2022-02-10replace feature expression (cfg_panic) in lib and remove expression from testsCharisee-1/+0
Rebase commit
2022-01-28Extend format-args capture test.Mara Bos-0/+8
2021-11-15Stabilize format_args_captureJosh Triplett-1/+0
Works as expected, and there are widespread reports of success with it, as well as interest in it.
2021-07-06Add s to non_fmt_panicRyan Levick-7/+9
2021-02-06parse_format: treat r" as a literalDavid Hewitt-0/+11
2021-02-03Add lint for `panic!(123)` which is not accepted in Rust 2021.Mara Bos-1/+1
This extends the `panic_fmt` lint to warn for all cases where the first argument cannot be interpreted as a format string, as will happen in Rust 2021. It suggests to add `"{}", ` to format the message as a string. In the case of `std::panic!()`, it also suggests the recently stabilized `std::panic::panic_any()` function as an alternative. It renames the lint to `non_fmt_panic` to match the lint naming guidelines.
2020-10-19Ignore panic_fmt lint in format-args-capture ui test.Mara Bos-0/+1
2020-11-09Add `#[cfg(panic = "...")]`David Hewitt-4/+9
2020-07-03Ignore test with panic on wasm targetsDavid Hewitt-0/+2
2020-06-24Add `format_args_capture` featureDavid Hewitt-0/+62