summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/deny-missing-docs-crate.stderr
blob: 5025b0b0ca82562f9f9f55b534722eb0590a44a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: missing documentation for the crate
  --> $DIR/deny-missing-docs-crate.rs:1:1
   |
LL | / #![deny(missing_docs)]
LL | |
LL | | pub struct Foo;
   | |_______________^
   |
note: the lint level is defined here
  --> $DIR/deny-missing-docs-crate.rs:1:9
   |
LL | #![deny(missing_docs)]
   |         ^^^^^^^^^^^^

error: missing documentation for a struct
  --> $DIR/deny-missing-docs-crate.rs:3:1
   |
LL | pub struct Foo;
   | ^^^^^^^^^^^^^^

error: aborting due to 2 previous errors