1 error: could not parse code block as Rust code
2 --> $DIR/doctest-edition.rs:7:5
10 note: the lint level is defined here
11 --> $DIR/doctest-edition.rs:3:9
13 LL | #![deny(rustdoc::invalid_rust_codeblocks)]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: error from rustc: prefix `foo` is unknown
16 help: mark blocks that do not contain Rust code as text
21 error: aborting due to previous error