File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed
src/test/ui/feature-gates Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
fn main ( ) {
4
4
unsafe {
5
- asm ! ( "" ) ; //~ ERROR inline assembly is not stable enough
6
- llvm_asm ! ( "" ) ; //~ ERROR inline assembly is not stable enough
5
+ asm ! ( "" ) ;
6
+ //~^ ERROR inline assembly is not stable enough
7
+ llvm_asm ! ( "" ) ;
8
+ //~^ ERROR LLVM-style inline assembly will never be stabilized
7
9
}
8
10
}
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ error[E0658]: use of unstable library feature 'asm': inline assembly is not stab
4
4
LL | asm!("");
5
5
| ^^^
6
6
|
7
- = note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173 > for more information
7
+ = note: see issue #72016 <https://github.com/rust-lang/rust/issues/72016 > for more information
8
8
= help: add `#![feature(asm)]` to the crate attributes to enable
9
9
10
- error[E0658]: use of unstable library feature 'llvm_asm': inline assembly is not stable enough for use and is subject to change
11
- --> $DIR/feature-gate-asm.rs:6 :9
10
+ error[E0658]: use of unstable library feature 'llvm_asm': LLVM-style inline assembly will never be stabilized, prefer using asm! instead
11
+ --> $DIR/feature-gate-asm.rs:7 :9
12
12
|
13
13
LL | llvm_asm!("");
14
14
| ^^^^^^^^
Original file line number Diff line number Diff line change 2
2
3
3
fn main ( ) {
4
4
unsafe {
5
- println ! ( "{:?}" , asm!( "" ) ) ; //~ ERROR inline assembly is not stable
6
- println ! ( "{:?}" , llvm_asm!( "" ) ) ; //~ ERROR inline assembly is not stable
5
+ println ! ( "{:?}" , asm!( "" ) ) ;
6
+ //~^ ERROR inline assembly is not stable enough
7
+ println ! ( "{:?}" , llvm_asm!( "" ) ) ;
8
+ //~^ ERROR LLVM-style inline assembly will never be stabilized
7
9
}
8
10
}
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ error[E0658]: use of unstable library feature 'asm': inline assembly is not stab
4
4
LL | println!("{:?}", asm!(""));
5
5
| ^^^
6
6
|
7
- = note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173 > for more information
7
+ = note: see issue #72016 <https://github.com/rust-lang/rust/issues/72016 > for more information
8
8
= help: add `#![feature(asm)]` to the crate attributes to enable
9
9
10
- error[E0658]: use of unstable library feature 'llvm_asm': inline assembly is not stable enough for use and is subject to change
11
- --> $DIR/feature-gate-asm2.rs:6 :26
10
+ error[E0658]: use of unstable library feature 'llvm_asm': LLVM-style inline assembly will never be stabilized, prefer using asm! instead
11
+ --> $DIR/feature-gate-asm2.rs:7 :26
12
12
|
13
13
LL | println!("{:?}", llvm_asm!(""));
14
14
| ^^^^^^^^
You can’t perform that action at this time.
0 commit comments