From 8d5109aa6ea1b54a560774eb95ba7c1b8d404faa Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 23 Mar 2025 15:50:51 +0300 Subject: compiletest: Support matching on diagnostics without a span --- tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs') 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` -- cgit 1.4.1-3-g733a5