From 7f495192becde1f8fc2f09bae61d6d7120103241 Mon Sep 17 00:00:00 2001 From: JirCep Date: Sat, 22 Oct 2022 23:00:13 +0200 Subject: [PATCH] ignore,does_not_compile --- src/ch18-03-pattern-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch18-03-pattern-syntax.md b/src/ch18-03-pattern-syntax.md index 89b2b5a998..a04736d72c 100644 --- a/src/ch18-03-pattern-syntax.md +++ b/src/ch18-03-pattern-syntax.md @@ -480,7 +480,7 @@ the match guard gives us the ability to express this logic. The downside of this additional expressiveness is that the compiler is not smart enough about arms exhaustiveness anymore when match guard expressions are involved. -```rust +```rust,ignore,does_not_compile match Some(100) { Some(_) if true => print!("Got Some"), None => print!("Got None")