|
LL - panic!(format!("{}", 1));
LL + panic!("{}", 1);
- |
+ |
warning: panic message is not a string literal
--> $DIR/non-fmt-panic.rs:50:18
|
LL - unreachable!(format!("{}", 1));
LL + unreachable!("{}", 1);
- |
+ |
warning: panic message is not a string literal
--> $DIR/non-fmt-panic.rs:51:20
|
LL - assert!(false, format!("{}", 1));
LL + assert!(false, "{}", 1);
- |
+ |
warning: panic message is not a string literal
--> $DIR/non-fmt-panic.rs:52:26
|
LL - debug_assert!(false, format!("{}", 1));
LL + debug_assert!(false, "{}", 1);
- |
+ |
warning: panic message is not a string literal
--> $DIR/non-fmt-panic.rs:54:12