diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-08 18:20:00 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-12 13:46:37 +0200 |
| commit | 22465b35a608487773f960574a798262b23c4abd (patch) | |
| tree | bc98130deaf97ee64fb17a3a94b61b3ecc7ccafb /src/test/rustdoc-ui | |
| parent | b31f5d05b1c10c1f99b5bc3c14499ff537c7b692 (diff) | |
| download | rust-22465b35a608487773f960574a798262b23c4abd.tar.gz rust-22465b35a608487773f960574a798262b23c4abd.zip | |
Apply same treatment to MISSING_DOC_CODE_EXAMPLES
Diffstat (limited to 'src/test/rustdoc-ui')
| -rw-r--r-- | src/test/rustdoc-ui/coverage/allow_missing_docs.stderr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/coverage/allow_missing_docs.stderr b/src/test/rustdoc-ui/coverage/allow_missing_docs.stderr new file mode 100644 index 00000000000..3d5b512d14d --- /dev/null +++ b/src/test/rustdoc-ui/coverage/allow_missing_docs.stderr @@ -0,0 +1,20 @@ +warning: missing documentation for a struct + --> $DIR/allow_missing_docs.rs:36:5 + | +LL | pub struct Bar { + | ^^^^^^^^^^^^^^ + | +note: the lint level is defined here + --> $DIR/allow_missing_docs.rs:35:12 + | +LL | #[warn(missing_docs)] + | ^^^^^^^^^^^^ + +warning: missing documentation for a struct field + --> $DIR/allow_missing_docs.rs:37:9 + | +LL | pub f: u32, + | ^^^^^^^^^^ + +warning: 2 warnings emitted + |
