]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/expr_before_ident_pat.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / match / expr_before_ident_pat.stderr
1 error[E0425]: cannot find value `a` in this scope
2   --> $DIR/expr_before_ident_pat.rs:10:12
3    |
4 LL |     funny!(a, a);
5    |            ^ not found in this scope
6
7 error: arbitrary expressions aren't allowed in patterns
8   --> $DIR/expr_before_ident_pat.rs:10:12
9    |
10 LL |     funny!(a, a);
11    |            ^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0425`.