rust/tests/rustdoc-ui/deny-missing-docs-crate.stderr

23 lines
490 B
Plaintext
Raw Normal View History

2020-03-22 17:18:30 -05:00
error: missing documentation for the crate
2019-01-12 20:25:00 -06:00
--> $DIR/deny-missing-docs-crate.rs:1:1
|
2019-03-09 06:03:44 -06:00
LL | / #![deny(missing_docs)]
LL | |
2019-03-09 06:03:44 -06:00
LL | | pub struct Foo;
| |_______________^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2019-01-12 20:25:00 -06:00
--> $DIR/deny-missing-docs-crate.rs:1:9
|
2019-03-09 06:03:44 -06:00
LL | #![deny(missing_docs)]
| ^^^^^^^^^^^^
error: missing documentation for a struct
2019-01-12 20:25:00 -06:00
--> $DIR/deny-missing-docs-crate.rs:3:1
|
2019-03-09 06:03:44 -06:00
LL | pub struct Foo;
| ^^^^^^^^^^^^^^
error: aborting due to 2 previous errors