libsyntax: add optional help message for deprecated features
This commit is contained in:
parent
e4e4039c5b
commit
79da7a0a2f
4 changed files with 13 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ error: use of deprecated attribute `panic_implementation`: this attribute was re
|
|||
--> $DIR/panic-implementation-deprecated.rs:19:1
|
||||
|
|
||||
LL | #[panic_implementation]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^ help: replace this attribute with `#[panic_handler]`
|
||||
|
|
||||
note: lint level defined here
|
||||
--> $DIR/panic-implementation-deprecated.rs:13:9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue