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