From 79da7a0a2f3c5490e1b8a4233795424bcf05520a Mon Sep 17 00:00:00 2001 From: Alva Snædís Date: Mon, 17 Sep 2018 03:40:31 +0000 Subject: libsyntax: add optional help message for deprecated features --- src/test/ui/panic-implementation/panic-implementation-deprecated.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/panic-implementation') 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 -- cgit 1.4.1-3-g733a5