]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/const-param.min.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / binding / const-param.min.stderr
1 error[E0158]: const parameters cannot be referenced in patterns
2   --> $DIR/const-param.rs:8: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`.