fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
489 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: lint level 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