File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tests/ui/cmse-nonsecure/cmse-nonsecure-call Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11//@ add-core-stubs
2- //@ compile-flags: --target thumbv8m.main-none-eabi --crate-type lib -Cincremental=true
2+ //@ compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
3+ //@ incremental (required to trigger the bug)
34//@ needs-llvm-components: arm
45#![ feature( abi_cmse_nonsecure_call, no_core) ]
56#![ no_core]
@@ -8,7 +9,7 @@ extern crate minicore;
89use minicore:: * ;
910
1011// A regression test for https://github.com/rust-lang/rust/issues/131639.
11- // NOTE: -Cincremental=true was required for triggering the bug.
12+ // NOTE: ` -Cincremental` was required for triggering the bug.
1213
1314fn foo ( ) {
1415 id :: < extern "cmse-nonsecure-call" fn ( & ' a ( ) ) > ( PhantomData ) ;
Original file line number Diff line number Diff line change 11error[E0261]: use of undeclared lifetime name `'a`
2- --> $DIR/undeclared-lifetime.rs:14 :43
2+ --> $DIR/undeclared-lifetime.rs:15 :43
33 |
44LL | id::<extern "cmse-nonsecure-call" fn(&'a ())>(PhantomData);
55 | ^^ undeclared lifetime
You can’t perform that action at this time.
0 commit comments