diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-12 22:40:34 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-13 21:48:53 +0300 |
| commit | 93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2 (patch) | |
| tree | 8202c945e49e3034cfa410245a935b14f7b4ce50 /tests/ui/print-request/print-lints-help.rs | |
| parent | 092a284ba0421695f2032c947765429fd7095796 (diff) | |
| download | rust-93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2.tar.gz rust-93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2.zip | |
UI tests: migrate remaining compile time `error-pattern`s to line annotations
when possible.
Diffstat (limited to 'tests/ui/print-request/print-lints-help.rs')
| -rw-r--r-- | tests/ui/print-request/print-lints-help.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/print-request/print-lints-help.rs b/tests/ui/print-request/print-lints-help.rs index 6dd88a701c3..9a706a29695 100644 --- a/tests/ui/print-request/print-lints-help.rs +++ b/tests/ui/print-request/print-lints-help.rs @@ -2,7 +2,8 @@ //! `--print=lints` (which is not a valid print request). //@ compile-flags: --print lints -//@ error-pattern: help: use `-Whelp` to print a list of lints -//@ error-pattern: help: for more information, see the rustc book //~? ERROR unknown print request: `lints` +//~? HELP use `-Whelp` to print a list of lints +//~? HELP for more information, see the rustc book +//~? HELP valid print requests are |
