fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: a leading `|` is not allowed in a parameter pattern 2 --> $DIR/remove-leading-vert.rs:12:14 3 | 4LL | fn fun1( | A: E) {} 5 | ^ help: remove the `|` 6 7error: a leading `|` is not allowed in a parameter pattern 8 --> $DIR/remove-leading-vert.rs:13:14 9 | 10LL | fn fun2( || A: E) {} 11 | ^^ help: remove the `||` 12 13error: a leading `|` is only allowed in a top-level pattern 14 --> $DIR/remove-leading-vert.rs:14:11 15 | 16LL | let ( | A): E; 17 | ^ help: remove the `|` 18 19error: a leading `|` is only allowed in a top-level pattern 20 --> $DIR/remove-leading-vert.rs:15:11 21 | 22LL | let ( || A): (E); 23 | ^^ help: remove the `||` 24 25error: a leading `|` is only allowed in a top-level pattern 26 --> $DIR/remove-leading-vert.rs:16:11 27 | 28LL | let ( | A,): (E,); 29 | ^ help: remove the `|` 30 31error: a leading `|` is only allowed in a top-level pattern 32 --> $DIR/remove-leading-vert.rs:17:11 33 | 34LL | let [ | A ]: [E; 1]; 35 | ^ help: remove the `|` 36 37error: a leading `|` is only allowed in a top-level pattern 38 --> $DIR/remove-leading-vert.rs:18:11 39 | 40LL | let [ || A ]: [E; 1]; 41 | ^^ help: remove the `||` 42 43error: a leading `|` is only allowed in a top-level pattern 44 --> $DIR/remove-leading-vert.rs:19:13 45 | 46LL | let TS( | A ): TS; 47 | ^ help: remove the `|` 48 49error: a leading `|` is only allowed in a top-level pattern 50 --> $DIR/remove-leading-vert.rs:20:13 51 | 52LL | let TS( || A ): TS; 53 | ^^ help: remove the `||` 54 55error: a leading `|` is only allowed in a top-level pattern 56 --> $DIR/remove-leading-vert.rs:21:17 57 | 58LL | let NS { f: | A }: NS; 59 | ^ help: remove the `|` 60 61error: a leading `|` is only allowed in a top-level pattern 62 --> $DIR/remove-leading-vert.rs:22:17 63 | 64LL | let NS { f: || A }: NS; 65 | ^^ help: remove the `||` 66 67error: aborting due to 11 previous errors 68