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 d0b2fc9 commit 0e8b6cdCopy full SHA for 0e8b6cd
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs
@@ -683,10 +683,9 @@ enum ArmType {
683
/// For example, if we are constructing a witness for the match against
684
///
685
/// ```compile_fail,E0004
686
-/// # #![feature(type_ascription)]
687
/// struct Pair(Option<(u32, u32)>, bool);
688
/// # fn foo(p: Pair) {
689
-/// match (p: Pair) {
+/// match p {
690
/// Pair(None, _) => {}
691
/// Pair(_, false) => {}
692
/// }
0 commit comments