about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/panic_fmt.rs
AgeCommit message (Expand)AuthorLines
2021-02-03Add lint for `panic!(123)` which is not accepted in Rust 2021.Mara Bos-155/+0
2021-01-25Implement new panic!() behaviour for Rust 2021.Mara Bos-9/+14
2020-10-29Improve panic_fmt lint messages.Mara Bos-5/+5
2020-10-28Mark panic_fmt suggestion as machine applicable.Mara Bos-1/+1
2020-10-20Improve panic_fmt error messages for invalid format strings too.Mara Bos-4/+18
2020-10-20Parse the format string for the panic_fmt lint for better warnings.Mara Bos-9/+33
2020-10-19Small cleanups in assert!() and panic_fmt lint.Mara Bos-4/+4
2020-10-19Also apply panic_fmt lint suggestions to debug_assert!().Mara Bos-9/+7
2020-10-19Don't see `{{}}` as placeholder in panic_fmt lint.Mara Bos-8/+7
2020-10-18Formatting.Mara Bos-4/+5
2020-10-18Improve panic_fmt message for panic!("{}") with a fmt placeholder.Mara Bos-17/+45
2020-10-18Make panic_fmt lint work properly for assert!(expr, msg) too.Mara Bos-0/+12
2020-10-18Specialize panic_fmt lint for the {core,std}::panic!() macros.Mara Bos-5/+22
2020-10-18Add lint to warn about braces in a panic message.Mara Bos-0/+57