fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.2 KiB29 linesraw
1error[E0658]: use of unstable library feature 'asm': inline assembly is not stable enough for use and is subject to change
2  --> $DIR/feature-gate-asm.rs:5:9
3   |
4LL |         asm!("");
5   |         ^^^
6   |
7   = note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173> for more information
8   = help: add `#![feature(asm)]` to the crate attributes to enable
9
10error[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:7:9
12   |
13LL |         llvm_asm!("");
14   |         ^^^^^^^^
15   |
16   = note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173> for more information
17   = help: add `#![feature(llvm_asm)]` to the crate attributes to enable
18
19warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage
20  --> $DIR/feature-gate-asm.rs:5:9
21   |
22LL |         asm!("");
23   |         ^^^ help: replace the use of the deprecated item: `llvm_asm`
24   |
25   = note: `#[warn(deprecated)]` on by default
26
27error: aborting due to 2 previous errors; 1 warning emitted
28
29For more information about this error, try `rustc --explain E0658`.