fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
480 B22 linesraw
1error: missing documentation for crate
2  --> $DIR/deny-missing-docs-crate.rs:1:1
3   |
4LL | / #![deny(missing_docs)]
5LL | |
6LL | | pub struct Foo;
7   | |_______________^
8   |
9note: lint level defined here
10  --> $DIR/deny-missing-docs-crate.rs:1:9
11   |
12LL | #![deny(missing_docs)]
13   |         ^^^^^^^^^^^^
14
15error: missing documentation for a struct
16  --> $DIR/deny-missing-docs-crate.rs:3:1
17   |
18LL | pub struct Foo;
19   | ^^^^^^^^^^^^^^^
20
21error: aborting due to 2 previous errors
22