about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-23 15:50:51 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-25 17:33:09 +0300
commit8d5109aa6ea1b54a560774eb95ba7c1b8d404faa (patch)
tree52b9dae4108c3d2bd7ddcb155416ae327a2443ab /tests/ui/patchable-function-entry
parent7d49ae9731555937177d01e9fa39dbf22eb60399 (diff)
downloadrust-8d5109aa6ea1b54a560774eb95ba7c1b8d404faa.tar.gz
rust-8d5109aa6ea1b54a560774eb95ba7c1b8d404faa.zip
compiletest: Support matching on diagnostics without a span
Diffstat (limited to 'tests/ui/patchable-function-entry')
-rw-r--r--tests/ui/patchable-function-entry/patchable-function-entry-flags.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs b/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
index cb5bc62b6b3..2d5a0b0a771 100644
--- a/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
+++ b/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
@@ -1,2 +1,5 @@
 //@ compile-flags: -Z patchable-function-entry=1,2
+
 fn main() {}
+
+//~? ERROR incorrect value `1,2` for unstable option `patchable-function-entry`