summaryrefslogtreecommitdiffstats
path: root/tests/ui/binding/const-param.stderr
blob: e68893a59e4991db1d01262487f77402674ad86c (plain)
1
2
3
4
5
6
7
8
9
error[E0158]: const parameters cannot be referenced in patterns
  --> $DIR/const-param.rs:5:9
   |
LL |         N => {}
   |         ^

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0158`.