fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unexpected `impl` keyword 2 --> $DIR/extra-impl-in-trait-impl.rs:6:18 3 | 4LL | impl<T: Default> impl Default for S<T> { 5 | ^^^^^ help: remove the extra `impl` 6 | 7note: this is parsed as an `impl Trait` type, but a trait is expected at this position 8 --> $DIR/extra-impl-in-trait-impl.rs:6:18 9 | 10LL | impl<T: Default> impl Default for S<T> { 11 | ^^^^^^^^^^^^ 12 13error: unexpected `impl` keyword 14 --> $DIR/extra-impl-in-trait-impl.rs:12:6 15 | 16LL | impl impl Default for S2 { 17 | ^^^^^ help: remove the extra `impl` 18 | 19note: this is parsed as an `impl Trait` type, but a trait is expected at this position 20 --> $DIR/extra-impl-in-trait-impl.rs:12:6 21 | 22LL | impl impl Default for S2 { 23 | ^^^^^^^^^^^^ 24 25error: aborting due to 2 previous errors 26