Rollup merge of #72912 - GuillaumeGomez:add-e0755, r=estebank

Add new E0758 error code
This commit is contained in:
Dylan DPC 2020-06-08 22:15:10 +02:00 committed by GitHub
commit 82fd390d67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 1 deletions

View file

@ -0,0 +1 @@
/* //~ ERROR E0758

View file

@ -0,0 +1,9 @@
error[E0758]: unterminated block comment
--> $DIR/unterminated-comment.rs:1:1
|
LL | /*
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View file

@ -0,0 +1 @@
/*! //~ ERROR E0758

View file

@ -0,0 +1,9 @@
error[E0758]: unterminated block doc-comment
--> $DIR/unterminated-doc-comment.rs:1:1
|
LL | /*!
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.