blob: 0729e14d5b2738d93554425e15e102b9f698e259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Regression test for the issue #44692
macro_rules! hang { () => {
{ //~ ERROR format argument must be a string literal
#[derive(Clone)]
struct S;
""
}
}}
fn main() {
format_args!(hang!());
}
|