diff --git a/src/ch12-04-testing-the-librarys-functionality.md b/src/ch12-04-testing-the-librarys-functionality.md
index 514c2b716..d079439c6 100644
--- a/src/ch12-04-testing-the-librarys-functionality.md
+++ b/src/ch12-04-testing-the-librarys-functionality.md
@@ -129,7 +129,7 @@ won’t compile yet.
Filename: src/lib.rs
-```rust,ignore
+```rust,ignore,does_not_compile
{{#rustdoc_include ../listings/ch12-an-io-project/listing-12-17/src/lib.rs:here}}
```
@@ -150,7 +150,7 @@ Listing 12-18. Note this still won’t compile yet.
Filename: src/lib.rs
-```rust,ignore
+```rust,ignore,does_not_compile
{{#rustdoc_include ../listings/ch12-an-io-project/listing-12-18/src/lib.rs:here}}
```