-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Description
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- chapter 12 does not compile
- listing 12-15
- I have checked the latest
mainbranch to see if this has already been fixed, in this file:- /src/ch12-04-testing-the-librarys-functionality.md
URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch12-04-testing-the-librarys-functionality.html#listing-12-15
Description of the problem:
Listing 12-15 in Chapter 12.4 has the "does not compile" icon, but in reality it compiles just fine, and the test fails (as expected) with cargo test.
| ```rust,ignore,does_not_compile |
Suggested fix:
Remove the does_not_compile flag/annotation.
Optionally replace with "panics" (if it counts).
Metadata
Metadata
Assignees
Labels
No labels