diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-09-18 10:21:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-18 10:21:41 +0200 |
| commit | 50b9694af9739d5a4273c1928b41ee23ff59b3c7 (patch) | |
| tree | e33fbb9887808a8e0b6a812af56392b73c04e640 /src/test/ui/panic-implementation | |
| parent | 5f1a123c2018e65e54dfbea5702cea026b1202d6 (diff) | |
| parent | 79da7a0a2f3c5490e1b8a4233795424bcf05520a (diff) | |
| download | rust-50b9694af9739d5a4273c1928b41ee23ff59b3c7.tar.gz rust-50b9694af9739d5a4273c1928b41ee23ff59b3c7.zip | |
Rollup merge of #54299 - snaedis:issue-54246, r=varkor
Issue 54246 I added the option of providing a help message for deprecated features, that takes precedence over the default `help: remove this attribute` message, along with messages for the features that mention replacements in the reason for deprecation. Fixes #54246.
Diffstat (limited to 'src/test/ui/panic-implementation')
| -rw-r--r-- | src/test/ui/panic-implementation/panic-implementation-deprecated.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr b/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr index 43f51447ac4..fabfba94878 100644 --- a/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr +++ b/src/test/ui/panic-implementation/panic-implementation-deprecated.stderr @@ -1,8 +1,8 @@ -error: use of deprecated attribute `panic_implementation`: This attribute was renamed to `panic_handler`. See https://github.com/rust-lang/rust/issues/44489#issuecomment-415140224 +error: use of deprecated attribute `panic_implementation`: this attribute was renamed to `panic_handler`. See https://github.com/rust-lang/rust/issues/44489#issuecomment-415140224 --> $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 |
