fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/impl-trait-in-macro.rs:9:9 3 | 4LL | ($($tr:tt)*) => { impl $($tr)* }; 5 | ---- 6 | | 7 | expected type parameter 8 | found type parameter 9... 10LL | let mut a = x; 11 | - expected due to this value 12LL | a = y; 13 | ^ expected type parameter `impl Debug`, found a different type parameter `impl Debug` 14 | 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 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0308`.