diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-28 21:22:06 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-28 21:22:06 +0100 |
| commit | 7cf3f8ba7a4a7c8b9dc7a44ccc1702fa7d0d2d1c (patch) | |
| tree | 89d635525e73976b7332f48044d5933806d004f9 /tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr | |
| parent | c1cfab230ebb2e9cb9f4ea69773fef956c706a71 (diff) | |
| download | rust-7cf3f8ba7a4a7c8b9dc7a44ccc1702fa7d0d2d1c.tar.gz rust-7cf3f8ba7a4a7c8b9dc7a44ccc1702fa7d0d2d1c.zip | |
Do not emit `missing_doc_code_examples` rustdoc lint on module and a few other items
Diffstat (limited to 'tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr')
| -rw-r--r-- | tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr b/tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr index f9331250154..22533b9816a 100644 --- a/tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr +++ b/tests/rustdoc-ui/lints/lint-missing-doc-code-example.stderr @@ -1,8 +1,8 @@ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:20:1 + --> $DIR/lint-missing-doc-code-example.rs:38:3 | -LL | pub mod module1 { - | ^^^^^^^^^^^^^^^ +LL | /// doc + | ^^^^^^^ | note: the lint level is defined here --> $DIR/lint-missing-doc-code-example.rs:3:9 @@ -11,12 +11,6 @@ LL | #![deny(rustdoc::missing_doc_code_examples)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:38:3 - | -LL | /// doc - | ^^^^^^^ - -error: missing code example in this documentation --> $DIR/lint-missing-doc-code-example.rs:50:1 | LL | /// Doc @@ -34,5 +28,5 @@ error: missing code example in this documentation LL | /// Doc | ^^^^^^^ -error: aborting due to 5 previous errors +error: aborting due to 4 previous errors |
