We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f544899 commit 7f98befCopy full SHA for 7f98bef
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs
@@ -685,10 +685,9 @@ enum ArmType {
685
/// For example, if we are constructing a witness for the match against
686
///
687
/// ```compile_fail,E0004
688
-/// # #![feature(type_ascription)]
689
/// struct Pair(Option<(u32, u32)>, bool);
690
/// # fn foo(p: Pair) {
691
-/// match (p: Pair) {
+/// match p {
692
/// Pair(None, _) => {}
693
/// Pair(_, false) => {}
694
/// }
0 commit comments