]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-asm2.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / feature-gates / feature-gate-asm2.stderr
1 error[E0658]: use of unstable library feature 'asm': inline assembly is not stable enough for use and is subject to change
2   --> $DIR/feature-gate-asm2.rs:5:26
3    |
4 LL |         println!("{:?}", asm!(""));
5    |                          ^^^
6    |
7    = note: see issue #72016 <https://github.com/rust-lang/rust/issues/72016> for more information
8    = help: add `#![feature(asm)]` to the crate attributes to enable
9
10 error[E0658]: use of unstable library feature 'llvm_asm': prefer using the new asm! syntax instead
11   --> $DIR/feature-gate-asm2.rs:7:26
12    |
13 LL |         println!("{:?}", 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
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.