fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.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