rust/tests/ui/binding/const-param.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
243 B
Plaintext
Raw Normal View History

2020-11-17 04:44:21 -06:00
error[E0158]: const parameters cannot be referenced in patterns
--> $DIR/const-param.rs:5:9
2020-11-17 04:44:21 -06:00
|
LL | N => {}
| ^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0158`.