X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fparser%2Fdoc-comment-in-stmt.stderr;h=febfb600cc7a6e4c13c6c4889cf174c9e7a71203;hb=cb8fdff56da1b72ab942e41dc213059d83b58456;hp=5d94d6fe69b59716f7a452ad77ae7b9b8f1c9b28;hpb=7f32dd546f23f122a6c5e87db50e404261b75722;p=rust.git diff --git a/src/test/ui/parser/doc-comment-in-stmt.stderr b/src/test/ui/parser/doc-comment-in-stmt.stderr index 5d94d6fe69b..febfb600cc7 100644 --- a/src/test/ui/parser/doc-comment-in-stmt.stderr +++ b/src/test/ui/parser/doc-comment-in-stmt.stderr @@ -9,7 +9,7 @@ LL | //!self.allow_ty_infer() help: add a space before `!` to use a regular comment | LL | // !self.allow_ty_infer() - | ^^^^ + | ~~~~ error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/*! bar */` --> $DIR/doc-comment-in-stmt.rs:9:5 @@ -22,7 +22,7 @@ LL | /*! bar */ help: add a space before `!` to use a regular comment | LL | /* ! bar */ - | ^^^^ + | ~~~~ error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/** baz */` --> $DIR/doc-comment-in-stmt.rs:13:7 @@ -33,7 +33,7 @@ LL | 1 /** baz */ help: add a space before `*` to use a regular comment | LL | 1 /* * baz */ - | ^^^^ + | ~~~~ error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/*! quux */` --> $DIR/doc-comment-in-stmt.rs:17:7 @@ -44,7 +44,7 @@ LL | 2 /*! quux */ help: add a space before `!` to use a regular comment | LL | 2 /* ! quux */ - | ^^^^ + | ~~~~ error: aborting due to 4 previous errors