rustc hangs on malformed format!() w/ first arg being a macro invocation declaring a type with a #[derive] #47188
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
rustc seems to sit there consuming 100% CPU indefinitely. This code isn't valid because
format!()
wants a string literal as first argument, but it doesn't seem to get around to complaining about it, so I assume it's getting stuck somewhere formatting an error message.The text was updated successfully, but these errors were encountered: