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
245 B
Plaintext
Raw Normal View History

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