From fce6670bc8d4c3e392a8e2c45e9227ca8428e50c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 12 Aug 2022 02:11:42 +0200 Subject: Fix CI compiletest breakage due to Rust 1.63 --- cortex-m-rt/tests/compile-fail/non-static-resource.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cortex-m-rt/tests/compile-fail/non-static-resource.rs') diff --git a/cortex-m-rt/tests/compile-fail/non-static-resource.rs b/cortex-m-rt/tests/compile-fail/non-static-resource.rs index a603728..95f314b 100644 --- a/cortex-m-rt/tests/compile-fail/non-static-resource.rs +++ b/cortex-m-rt/tests/compile-fail/non-static-resource.rs @@ -21,7 +21,7 @@ fn SVCall() { static mut STAT: u8 = 0; let _stat: &'static mut u8 = STAT; - //~^ ERROR lifetime of reference outlives lifetime of borrowed content + //~^ ERROR lifetime may not live long enough } #[interrupt] @@ -29,7 +29,7 @@ fn UART0() { static mut STAT: u8 = 0; let _stat: &'static mut u8 = STAT; - //~^ ERROR lifetime of reference outlives lifetime of borrowed content + //~^ ERROR lifetime may not live long enough } #[entry] -- cgit v1.2.3