]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/parse/trait-path-segments.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / parse / trait-path-segments.stderr
1 error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, or `>`, found `=`
2 --> $DIR/trait-path-segments.rs:8:36
3 |
4 LL | fn f1<'a>(arg : Box<dyn X<X::Y = u32>>) {}
5 | - ^ expected one of 8 possible tokens
6 | |
7 | maybe try to close unmatched angle bracket
8
9 error: expected one of `,`, `::`, `:`, or `>`, found `=`
10 --> $DIR/trait-path-segments.rs:19:35
11 |
12 LL | impl<T : X<<Self as X>::Y<'a> = &'a u32>> Z for T {}
13 | - ^ expected one of `,`, `::`, `:`, or `>`
14 | |
15 | maybe try to close unmatched angle bracket
16
17 error: expected one of `!`, `+`, `,`, `::`, `:`, or `>`, found `=`
18 --> $DIR/trait-path-segments.rs:30:25
19 |
20 LL | impl<T : X<X::Y<'a> = &'a u32>> Z for T {}
21 | - ^ expected one of `!`, `+`, `,`, `::`, `:`, or `>`
22 | |
23 | maybe try to close unmatched angle bracket
24
25 error: aborting due to 3 previous errors
26