]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/deny-missing-docs-crate.stderr
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / rustdoc-ui / deny-missing-docs-crate.stderr
1 error: missing documentation for the crate
2   --> $DIR/deny-missing-docs-crate.rs:1:1
3    |
4 LL | / #![deny(missing_docs)]
5 LL | |
6 LL | | pub struct Foo;
7    | |_______________^
8    |
9 note: the lint level is defined here
10   --> $DIR/deny-missing-docs-crate.rs:1:9
11    |
12 LL | #![deny(missing_docs)]
13    |         ^^^^^^^^^^^^
14
15 error: missing documentation for a struct
16   --> $DIR/deny-missing-docs-crate.rs:3:1
17    |
18 LL | pub struct Foo;
19    | ^^^^^^^^^^^^^^
20
21 error: aborting due to 2 previous errors
22