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/missing/missing-allocator.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/ui/missing/missing-allocator.rs') diff --git a/tests/ui/missing/missing-allocator.rs b/tests/ui/missing/missing-allocator.rs index 3a65e657d0b..60aa9fcc898 100644 --- a/tests/ui/missing/missing-allocator.rs +++ b/tests/ui/missing/missing-allocator.rs @@ -16,3 +16,5 @@ fn oom(_: core::alloc::Layout) -> ! { } extern crate alloc; + +//~? ERROR no global memory allocator found but one is required -- cgit 1.4.1-3-g733a5