summary refs log tree commit diff
path: root/compiler/rustc_lint/src/non_fmt_panic.rs
AgeCommit message (Expand)AuthorLines
2021-02-26Rollup merge of #82456 - klensy:or-else, r=estebankGuillaume Gomez-1/+1
2021-02-23replaced some unwrap_or with unwrap_or_elseklensy-1/+1
2021-02-17Add comment about how we find the right span in non_fmt_panic.Mara Bos-0/+3
2021-02-14Formatting.Mara Bos-8/+2
2021-02-14Suggest correct replacement for panic![123].Mara Bos-15/+33
2021-02-14Improve suggestion for panic!(format!(..)).Mara Bos-1/+30
2021-02-14Fix span in non_fmt_panic for panic!(some_macro!()).Mara Bos-4/+15
2021-02-03Add lint for `panic!(123)` which is not accepted in Rust 2021.Mara Bos-0/+197