Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
derive-in-eager-expansion-hang.rs
blob: 0729e14d5b2738d93554425e15e102b9f698e259 [
file
] [
log
] [
blame
] [
edit
]
// 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
!());
}