rust/tests/ui/reachable/unreachable-loop-patterns.stderr

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

15 lines
339 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: unreachable pattern
--> $DIR/unreachable-loop-patterns.rs:18:9
2018-08-08 07:28:26 -05:00
|
2018-11-20 16:49:48 -06:00
LL | for _ in unimplemented!() as Void {}
2018-08-08 07:28:26 -05:00
| ^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/unreachable-loop-patterns.rs:5:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(unreachable_patterns)]
| ^^^^^^^^^^^^^^^^^^^^
2021-10-25 23:33:12 -05:00
error: aborting due to previous error
2018-08-08 07:28:26 -05:00