Closed
Description
#78088 implements suggestion for panic with first argument not literal, but forget to handle such code:
const ICE: &str = "Internal compiler error";
fn main() {
panic!(ICE);
}
This code is actually legit., but non_fmt_panic
suggestion is emitted.
Check: https://gist.github.com/6002a4f7fedfda0e615d0b1158015eee
Metadata
Metadata
Assignees
Labels
No labels