原书出处
The Rust Programming Language(第2版)
06 枚举与模式匹配 Matches Are Exhaustive
error[E0004]: non-exhaustive patterns: `None` not covered --> src/main.rs:3:15 | 3 | match x { | ^ pattern `None` not covered | note: `Option<i32>` defined here = note: the matched value is of type `Option<i32>` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 4 ~ Some(i) => Some(i + 1), 5 ~ None =>
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/The Rust Programming Language(第2版)/_epub-src/c06.xhtml
EPUB SHA-256:610e9a4ca266a389faba5ffed033dc4bcae1c910c6259ea8ab73a6e93fbb9374