Skip to content

Commit fce6670

Browse files
committed
Fix CI compiletest breakage due to Rust 1.63
1 parent 4e90862 commit fce6670

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)