about summary refs log tree commit diff
path: root/tests/ui/print-request/print-lints-help.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-12 22:40:34 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-13 21:48:53 +0300
commit93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2 (patch)
tree8202c945e49e3034cfa410245a935b14f7b4ce50 /tests/ui/print-request/print-lints-help.rs
parent092a284ba0421695f2032c947765429fd7095796 (diff)
downloadrust-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.rs5
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