]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/parse/trait-path-expressions.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / generic-associated-types / parse / trait-path-expressions.stderr
CommitLineData
fc512014 1error: expected expression, found `)`
f2b60f7d 2 --> $DIR/trait-path-expressions.rs:6:39
fc512014
XL
3 |
4LL | fn f1<'a>(arg : Box<dyn X< 1 = 32 >>) {}
5 | - ^ expected expression
6 | |
7 | while parsing a const generic argument starting here
8
5869c6ff 9error: expected one of `,`, `:`, or `>`, found `=`
f2b60f7d 10 --> $DIR/trait-path-expressions.rs:16:36
fc512014
XL
11 |
12LL | fn f2<'a>(arg : Box<dyn X< { 1 } = 32 >>) {}
5869c6ff
XL
13 | - ^ expected one of `,`, `:`, or `>`
14 | |
15 | maybe try to close unmatched angle bracket
5e7ed085
FG
16 |
17help: you might have meant to end the type parameters here
18 |
19LL | fn f2<'a>(arg : Box<dyn X< { 1 }> = 32 >>) {}
20 | +
fc512014 21
136023e0 22error: aborting due to 2 previous errors
fc512014 23