]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/doctest-edition.stderr
Auto merge of #95337 - petrochenkov:doclink3, r=camelid
[rust.git] / src / test / 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: the lint level is defined here
11   --> $DIR/doctest-edition.rs:3:9
12    |
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
17    |
18 LL | //! ```text
19    |        ++++
20
21 error: aborting due to previous error
22