1 error: format argument must be a string literal
4 LL | debug_assert!(false, 123);
7 help: you might be missing a string literal to format with
9 LL | debug_assert!(false, "{}", 123);
12 error: format argument must be a string literal
13 --> $DIR/panic.rs:6:20
15 LL | assert!(false, 123);
18 help: you might be missing a string literal to format with
20 LL | assert!(false, "{}", 123);
23 error: format argument must be a string literal
24 --> $DIR/panic.rs:8:12
26 LL | panic!(false, 123);
29 help: you might be missing a string literal to format with
31 LL | panic!("{} {}", false, 123);
34 error: format argument must be a string literal
35 --> $DIR/panic.rs:11:31
37 LL | std::debug_assert!(false, 123);
40 help: you might be missing a string literal to format with
42 LL | std::debug_assert!(false, "{}", 123);
45 error: format argument must be a string literal
46 --> $DIR/panic.rs:13:25
48 LL | std::assert!(false, 123);
51 help: you might be missing a string literal to format with
53 LL | std::assert!(false, "{}", 123);
56 error: format argument must be a string literal
57 --> $DIR/panic.rs:15:17
59 LL | std::panic!(false, 123);
62 help: you might be missing a string literal to format with
64 LL | std::panic!("{} {}", false, 123);
67 error: format argument must be a string literal
68 --> $DIR/panic.rs:18:32
70 LL | core::debug_assert!(false, 123);
73 help: you might be missing a string literal to format with
75 LL | core::debug_assert!(false, "{}", 123);
78 error: format argument must be a string literal
79 --> $DIR/panic.rs:20:26
81 LL | core::assert!(false, 123);
84 help: you might be missing a string literal to format with
86 LL | core::assert!(false, "{}", 123);
89 error: format argument must be a string literal
90 --> $DIR/panic.rs:22:18
92 LL | core::panic!(false, 123);
95 help: you might be missing a string literal to format with
97 LL | core::panic!("{} {}", false, 123);
100 error: aborting due to 9 previous errors