fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
496 B21 linesraw
1error: missing code example in this documentation
2  --> $DIR/lint-missing-doc-code-example.rs:19:1
3   |
4LL | / mod module1 {
5LL | | }
6   | |_^
7   |
8note: the lint level is defined here
9  --> $DIR/lint-missing-doc-code-example.rs:2:9
10   |
11LL | #![deny(missing_doc_code_examples)]
12   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
13
14error: missing code example in this documentation
15  --> $DIR/lint-missing-doc-code-example.rs:37:3
16   |
17LL |   /// doc
18   |   ^^^^^^^
19
20error: aborting due to 2 previous errors
21