]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/const-param.stderr
Auto merge of #104730 - petrochenkov:modchild5, r=cjgillot
[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`.