]> git.lizzy.rs Git - rust.git/blob - src/test/ui/anon-params-denied-2018.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / anon-params-denied-2018.stderr
1 error: expected one of `:` or `@`, found `)`
2   --> $DIR/anon-params-denied-2018.rs:6:15
3    |
4 LL |     fn foo(i32); //~ expected one of `:` or `@`, found `)`
5    |               ^ expected one of `:` or `@` here
6
7 error: expected one of `:` or `@`, found `,`
8   --> $DIR/anon-params-denied-2018.rs:8:36
9    |
10 LL |     fn bar_with_default_impl(String, String) {}
11    |                                    ^ expected one of `:` or `@` here
12
13 error: aborting due to 2 previous errors
14