aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2022-08-12 00:27:50 +0000
committerGravatar GitHub <noreply@github.com> 2022-08-12 00:27:50 +0000
commite46e2310adc86a5a09a1858a23ecdde2a2c6963f (patch)
treeb57828577735ef162d7249cbe8c0de60b5b3b389
parent4e908625204a1e95dd3fd5bdcd8d66d6bc11c3bc (diff)
parentfce6670bc8d4c3e392a8e2c45e9227ca8428e50c (diff)
downloadcortex-m-e46e2310adc86a5a09a1858a23ecdde2a2c6963f.tar.gz
cortex-m-e46e2310adc86a5a09a1858a23ecdde2a2c6963f.tar.zst
cortex-m-e46e2310adc86a5a09a1858a23ecdde2a2c6963f.zip
Merge #450
450: Fix CI compiletest breakage due to Rust 1.63 r=adamgreig a=Dirbaio Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
-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]