fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
821 B19 linesraw
1error[E0004]: non-exhaustive patterns: `box _` not covered
2  --> $DIR/issue-3601.rs:30:44
3   |
4LL |         box NodeKind::Element(ed) => match ed.kind {
5   |                                            ^^^^^^^ pattern `box _` not covered
6   |
7note: `Box<ElementKind>` defined here
8  --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
9   = note: the matched value is of type `Box<ElementKind>`
10   = note: match arms with guards don't count towards exhaustivity
11help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
12   |
13LL ~             box ElementKind::HTMLImageElement(ref d) if d.image.is_some() => true,
14LL ~             box _ => todo!(),
15   |
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0004`.