fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
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