Rollup merge of #71214 - GuillaumeGomez:add-error-code-inner-doc-error, r=Dylan-DPC

Add error code for inner doc error

r? @Dylan-DPC

cc @oli-obk
This commit is contained in:
Dylan DPC 2020-04-22 12:18:34 +02:00 committed by GitHub
commit 372d37b106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 5 deletions

View file

@ -1,4 +1,4 @@
error: expected outer doc comment
error[E0753]: expected outer doc comment
--> $DIR/doc-comment-in-if-statement.rs:2:13
|
LL | if true /*!*/ {}
@ -17,3 +17,4 @@ LL | if true /*!*/ {}
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0753`.

View file

@ -1,4 +1,4 @@
error: expected outer doc comment
error[E0753]: expected outer doc comment
--> $DIR/issue-30318.rs:3:1
|
LL | //! Misplaced comment...
@ -8,3 +8,4 @@ LL | //! Misplaced comment...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0753`.