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:
commit
372d37b106
5 changed files with 45 additions and 5 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue