Skip to content

Make ChannelMethod non-exhaustive

Ian Jackson requested to merge Diziet/arti:chanmethod-non-exhaustive into main

Enums with variants conditional on cargo features must be non-exhaustive, because cargo features are supposed to be additive, meaning that enabling a feature (which might happen due to some random distant thing) ought not to break things using that enum.

There were surprisingly few places to fix this.

This is item 1 2 from #649 (closed).

Edited by Ian Jackson

Merge request reports

Loading