aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dario Nieuwenhuis <dirbaio@dirbaio.net> 2022-08-12 02:11:42 +0200
committerGravatar Dario Nieuwenhuis <dirbaio@dirbaio.net> 2022-08-12 02:11:42 +0200
commitfce6670bc8d4c3e392a8e2c45e9227ca8428e50c (patch)
treeb57828577735ef162d7249cbe8c0de60b5b3b389
parent4e908625204a1e95dd3fd5bdcd8d66d6bc11c3bc (diff)
downloadcortex-m-fce6670bc8d4c3e392a8e2c45e9227ca8428e50c.tar.gz
cortex-m-fce6670bc8d4c3e392a8e2c45e9227ca8428e50c.tar.zst
cortex-m-fce6670bc8d4c3e392a8e2c45e9227ca8428e50c.zip
Fix CI compiletest breakage due to Rust 1.63
-rw-r--r--cortex-m-rt/tests/compile-fail/non-static-resource.rs4
1 files changed, 2 insertions, 2 deletions
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]