]> git.lizzy.rs Git - rust.git/commitdiff
Fix tests
authorYuki Okushi <huyuumi.dev@gmail.com>
Sun, 20 Jan 2019 19:52:30 +0000 (04:52 +0900)
committerYuki Okushi <huyuumi.dev@gmail.com>
Sun, 20 Jan 2019 19:52:30 +0000 (04:52 +0900)
src/test/ui/parser/doc-before-eof.stderr
src/test/ui/parser/doc-before-extern-rbrace.stderr
src/test/ui/parser/doc-before-mod-rbrace.stderr

index b764e9f7ae1024546228b80cb5b4e2526e9776e0..5809d64e8067843dd0f6e31621d1d59ca9d5b2d5 100644 (file)
@@ -2,7 +2,7 @@ error: expected item after doc comment
   --> $DIR/doc-before-eof.rs:3:1
    |
 LL | /// hi //~ERROR expected item after doc comment
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this doc comment doesn't document anything
 
 error: aborting due to previous error
 
index 47fab7b40f4cd0166ada76a6d4bdeb0d50d95fae..8cc9c916a7afd6b3531399f9102277e1a0825f34 100644 (file)
@@ -2,7 +2,7 @@ error: expected item after doc comment
   --> $DIR/doc-before-extern-rbrace.rs:2:5
    |
 LL |     /// hi
-   |     ^^^^^^
+   |     ^^^^^^ this doc comment doesn't document anything
 
 error: aborting due to previous error
 
index 41c1d706b3a7eecf0ac07de17b3e428b05762aa2..4eaf351f676c8963906faec647d7db7c6fc49a81 100644 (file)
@@ -2,7 +2,7 @@ error: expected item after doc comment
   --> $DIR/doc-before-mod-rbrace.rs:4:5
    |
 LL |     /// document
-   |     ^^^^^^^^^^^^
+   |     ^^^^^^^^^^^^ this doc comment doesn't document anything
 
 error: aborting due to previous error