1 error[E0308]: mismatched types
2 --> $DIR/issue-16401.rs:18:9
4 LL | Slice { data: data, len: len } => (),
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found struct `Slice`
7 = note: expected type `()`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.