We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e90862 commit fce6670Copy full SHA for fce6670
cortex-m-rt/tests/compile-fail/non-static-resource.rs
@@ -21,15 +21,15 @@ fn SVCall() {
21
static mut STAT: u8 = 0;
22
23
let _stat: &'static mut u8 = STAT;
24
- //~^ ERROR lifetime of reference outlives lifetime of borrowed content
+ //~^ ERROR lifetime may not live long enough
25
}
26
27
#[interrupt]
28
fn UART0() {
29
30
31
32
33
34
35
#[entry]
0 commit comments