**Describe the bug** Adding a generic type to a derive macro deletes all derives <!-- A clear and concise description of what the bug is. --> **To Reproduce** ``` cat <<EOF | rustfmt #[derive(Debug, Foo<T>)] enum Bar{} EOF ``` <!-- Steps to reproduce the behavior. If possible, please provide us with a link to your project or a minimal working example. --> This produces the following output, removing all derive attributes: ``` #[derive()] enum Bar {} ``` **Expected behavior** Something less nefarious, like rustc's ``` error: malformed `derive` attribute input ``` <!-- A clear and concise description of what you expected to happen. --> **Meta** - rustfmt version: rustrustfmt 1.4.24-stable (eb894d5 2020-11-05) - From where did you install rustfmt?: rustup - How do you run rustfmt: In an editor with undo hopefully :smiling_imp: