diff options
| author | Alva Snædís <alva@alva.email> | 2018-09-17 03:40:31 +0000 |
|---|---|---|
| committer | Alva Snædís <alva@alva.email> | 2018-09-17 16:09:23 +0000 |
| commit | 79da7a0a2f3c5490e1b8a4233795424bcf05520a (patch) | |
| tree | 9f43817a4b6e5f7f1523ffa403380cd01dc8592e /src/test/ui/panic-implementation | |
| parent | e4e4039c5b70807edfe41f6511b56520b3786ef3 (diff) | |
| download | rust-79da7a0a2f3c5490e1b8a4233795424bcf05520a.tar.gz rust-79da7a0a2f3c5490e1b8a4233795424bcf05520a.zip | |
libsyntax: add optional help message for deprecated features
Diffstat (limited to 'src/test/ui/panic-implementation')
| -rw-r--r-- | src/test/ui/panic-implementation/panic-implementation-deprecated.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr b/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr index c869dddb715..fabfba94878 100644 --- a/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr +++ b/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr @@ -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 |
