]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/trait-pub-assoc-ty.stderr
Rollup merge of #57212 - phansch:improve_rustc_book_contributing, r=steveklabnik
[rust.git] / src / test / ui / parser / trait-pub-assoc-ty.stderr
1 error: expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `pub`
2   --> $DIR/trait-pub-assoc-ty.rs:2:5
3    |
4 LL | trait Foo {
5    |            - expected one of 7 possible tokens here
6 LL |     pub type Foo;
7    |     ^^^ unexpected token
8
9 error: aborting due to previous error
10