]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/duplicate-visibility.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / duplicate-visibility.stderr
1 error: expected one of `(`, `fn`, `static`, or `type`, found keyword `pub`
2   --> $DIR/duplicate-visibility.rs:3:9
3    |
4 LL |     pub pub fn foo();
5    |         ^^^ expected one of `(`, `fn`, `static`, or `type`
6
7 error: aborting due to previous error
8