1 error[E0308]: mismatched types
2 --> $DIR/impl-trait-in-macro.rs:9:9
4 LL | ($($tr:tt)*) => { impl $($tr)* };
7 | expected type parameter
11 | - expected due to this value
13 | ^ expected type parameter `impl Debug`, found a different type parameter `impl Debug`
15 = note: expected type parameter `impl Debug` (type parameter `impl Debug`)
16 found type parameter `impl Debug` (type parameter `impl Debug`)
17 = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
18 = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0308`.