]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/doctest-edition.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / rustdoc-ui / doctest-edition.stderr
1 error: could not parse code block as Rust code
2   --> $DIR/doctest-edition.rs:7:5
3    |
4 LL |   //! ```
5    |  _____^
6 LL | | //! foo'b'
7 LL | | //! ```
8    | |_______^
9    |
10    = note: error from rustc: prefix `foo` is unknown
11 note: the lint level is defined here
12   --> $DIR/doctest-edition.rs:3:9
13    |
14 LL | #![deny(rustdoc::invalid_rust_codeblocks)]
15    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 help: mark blocks that do not contain Rust code as text
17    |
18 LL | //! ```text
19    |        ++++
20
21 error: aborting due to previous error
22