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 1
1
//@ 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)
3
4
//@ needs-llvm-components: arm
4
5
#![ feature( abi_cmse_nonsecure_call, no_core) ]
5
6
#![ no_core]
@@ -8,7 +9,7 @@ extern crate minicore;
8
9
use minicore:: * ;
9
10
10
11
// 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.
12
13
13
14
fn foo ( ) {
14
15
id :: < extern "cmse-nonsecure-call" fn ( & ' a ( ) ) > ( PhantomData ) ;
Original file line number Diff line number Diff line change 1
1
error[E0261]: use of undeclared lifetime name `'a`
2
- --> $DIR/undeclared-lifetime.rs:14 :43
2
+ --> $DIR/undeclared-lifetime.rs:15 :43
3
3
|
4
4
LL | id::<extern "cmse-nonsecure-call" fn(&'a ())>(PhantomData);
5
5
| ^^ undeclared lifetime
You can’t perform that action at this time.
0 commit comments