diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-11-21 11:08:58 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-11-21 11:08:58 -0500 |
| commit | e280ae862c735a0bc74b7f4f479459eefb9f9b65 (patch) | |
| tree | 1ab683d1eb1e9bca373a1b5b12b4f71ec09e35df /src/test/rustdoc-ui/lint-missing-doc-code-example.stderr | |
| parent | 788840612e9da529158ada25d2160ca07d5a8dc9 (diff) | |
| download | rust-e280ae862c735a0bc74b7f4f479459eefb9f9b65.tar.gz rust-e280ae862c735a0bc74b7f4f479459eefb9f9b65.zip | |
x.py test --bless
Diffstat (limited to 'src/test/rustdoc-ui/lint-missing-doc-code-example.stderr')
| -rw-r--r-- | src/test/rustdoc-ui/lint-missing-doc-code-example.stderr | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr b/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr index 32756c99e7f..e02ed4a056c 100644 --- a/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr +++ b/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr @@ -1,8 +1,9 @@ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:49:1 + --> $DIR/lint-missing-doc-code-example.rs:19:1 | -LL | /// Doc - | ^^^^^^^ +LL | / mod module1 { +LL | | } + | |_^ | note: the lint level is defined here --> $DIR/lint-missing-doc-code-example.rs:2:9 @@ -11,29 +12,28 @@ LL | #![deny(missing_doc_code_examples)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:63:1 + --> $DIR/lint-missing-doc-code-example.rs:37:3 | -LL | /// Doc - | ^^^^^^^ +LL | /// doc + | ^^^^^^^ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:56:1 + --> $DIR/lint-missing-doc-code-example.rs:49:1 | LL | /// Doc | ^^^^^^^ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:19:1 + --> $DIR/lint-missing-doc-code-example.rs:56:1 | -LL | / mod module1 { -LL | | } - | |_^ +LL | /// Doc + | ^^^^^^^ error: missing code example in this documentation - --> $DIR/lint-missing-doc-code-example.rs:37:3 + --> $DIR/lint-missing-doc-code-example.rs:63:1 | -LL | /// doc - | ^^^^^^^ +LL | /// Doc + | ^^^^^^^ error: aborting due to 5 previous errors |
