1error: format argument must be a string literal
2  --> $DIR/panic.rs:4:26
3   |
4LL |     debug_assert!(false, 123);
5   |                          ^^^
6   |
7help: you might be missing a string literal to format with
8   |
9LL |     debug_assert!(false, "{}", 123);
10   |                          +++++
11
12error: format argument must be a string literal
13  --> $DIR/panic.rs:6:20
14   |
15LL |     assert!(false, 123);
16   |                    ^^^
17   |
18help: you might be missing a string literal to format with
19   |
20LL |     assert!(false, "{}", 123);
21   |                    +++++
22
23error: format argument must be a string literal
24  --> $DIR/panic.rs:8:12
25   |
26LL |     panic!(false, 123);
27   |            ^^^^^
28   |
29help: you might be missing a string literal to format with
30   |
31LL |     panic!("{} {}", false, 123);
32   |            ++++++++
33
34error: format argument must be a string literal
35  --> $DIR/panic.rs:11:31
36   |
37LL |     std::debug_assert!(false, 123);
38   |                               ^^^
39   |
40help: you might be missing a string literal to format with
41   |
42LL |     std::debug_assert!(false, "{}", 123);
43   |                               +++++
44
45error: format argument must be a string literal
46  --> $DIR/panic.rs:13:25
47   |
48LL |     std::assert!(false, 123);
49   |                         ^^^
50   |
51help: you might be missing a string literal to format with
52   |
53LL |     std::assert!(false, "{}", 123);
54   |                         +++++
55
56error: format argument must be a string literal
57  --> $DIR/panic.rs:15:17
58   |
59LL |     std::panic!(false, 123);
60   |                 ^^^^^
61   |
62help: you might be missing a string literal to format with
63   |
64LL |     std::panic!("{} {}", false, 123);
65   |                 ++++++++
66
67error: format argument must be a string literal
68  --> $DIR/panic.rs:18:32
69   |
70LL |     core::debug_assert!(false, 123);
71   |                                ^^^
72   |
73help: you might be missing a string literal to format with
74   |
75LL |     core::debug_assert!(false, "{}", 123);
76   |                                +++++
77
78error: format argument must be a string literal
79  --> $DIR/panic.rs:20:26
80   |
81LL |     core::assert!(false, 123);
82   |                          ^^^
83   |
84help: you might be missing a string literal to format with
85   |
86LL |     core::assert!(false, "{}", 123);
87   |                          +++++
88
89error: format argument must be a string literal
90  --> $DIR/panic.rs:22:18
91   |
92LL |     core::panic!(false, 123);
93   |                  ^^^^^
94   |
95help: you might be missing a string literal to format with
96   |
97LL |     core::panic!("{} {}", false, 123);
98   |                  ++++++++
99
100error: aborting due to 9 previous errors
101
102