Skip to content

Commit e46e231

Browse files
bors[bot]Dirbaio
andauthored
Merge #450
450: Fix CI compiletest breakage due to Rust 1.63 r=adamgreig a=Dirbaio Co-authored-by: Dario Nieuwenhuis <[email protected]>
2 parents 4e90862 + fce6670 commit e46e231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cortex-m-rt/tests/compile-fail/non-static-resource.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ fn SVCall() {
2121
static mut STAT: u8 = 0;
2222

2323
let _stat: &'static mut u8 = STAT;
24-
//~^ ERROR lifetime of reference outlives lifetime of borrowed content
24+
//~^ ERROR lifetime may not live long enough
2525
}
2626

2727
#[interrupt]
2828
fn UART0() {
2929
static mut STAT: u8 = 0;
3030

3131
let _stat: &'static mut u8 = STAT;
32-
//~^ ERROR lifetime of reference outlives lifetime of borrowed content
32+
//~^ ERROR lifetime may not live long enough
3333
}
3434

3535
#[entry]

0 commit comments

Comments
 (0)