about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-11-21 11:08:58 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-11-21 11:08:58 -0500
commite280ae862c735a0bc74b7f4f479459eefb9f9b65 (patch)
tree1ab683d1eb1e9bca373a1b5b12b4f71ec09e35df /src/test/rustdoc-ui/lint-missing-doc-code-example.stderr
parent788840612e9da529158ada25d2160ca07d5a8dc9 (diff)
downloadrust-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.stderr28
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