]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/const-param.stderr
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / binding / const-param.stderr
1 error[E0158]: const parameters cannot be referenced in patterns
2   --> $DIR/const-param.rs:5:9
3    |
4 LL |         N => {}
5    |         ^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0158`.