1 error[E0004]: non-exhaustive patterns: `box _` not covered
2 --> $DIR/issue-3601.rs:30:44
4 LL | box NodeKind::Element(ed) => match ed.kind {
5 | ^^^^^^^ pattern `box _` not covered
7 note: `Box<ElementKind>` defined here
8 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
10 LL | / pub struct Box<
12 LL | | #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
13 LL | | >(Unique<T>, A);
15 = note: the matched value is of type `Box<ElementKind>`
16 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
18 LL ~ box ElementKind::HTMLImageElement(ref d) if d.image.is_some() => { true }
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0004`.