]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/missing-closing-angle-bracket-struct-field-ty.stderr
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / parser / missing-closing-angle-bracket-struct-field-ty.stderr
1 error: expected one of `>`, a const expression, lifetime, or type, found `}`
2   --> $DIR/missing-closing-angle-bracket-struct-field-ty.rs:9:1
3    |
4 LL | pub struct Foo {
5    |            --- while parsing this struct
6 ...
7 LL |     c: Arc<Mutex<usize>>,
8    |                          - expected one of `>`, a const expression, lifetime, or type
9 LL | }
10    | ^ unexpected token
11    |
12 help: you might have meant to end the type parameters here
13    |
14 LL |     b: Arc<Mutex<usize>>,
15    |                        +
16
17 error: aborting due to previous error
18