]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/2018-edition/src/ch15-02-deref.md
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / doc / book / 2018-edition / src / ch15-02-deref.md
index 4d5afc902a87f3a5d49b75960c00ab1550a60ebf..8b011b91365711ee8b512530d7175eee96545bf3 100644 (file)
@@ -131,7 +131,7 @@ code in Listing 15-9 won’t compile because Rust doesn’t know how to derefere
 
 <span class="filename">Filename: src/main.rs</span>
 
-```rust,ignore
+```rust,ignore,does_not_compile
 fn main() {
     let x = 5;
     let y = MyBox::new(x);