summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/const-param.stderr
blob: adda80810ead2339c2713d4f1966a91def599cf4 (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 previous error

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