]> git.lizzy.rs Git - rust.git/blob - tests/ui/intrinsics/unchecked_math_unstable.stderr
Auto merge of #106975 - tmiasko:basic-blocks-cache, r=cjgillot
[rust.git] / tests / ui / intrinsics / unchecked_math_unstable.stderr
1 error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
2   --> $DIR/unchecked_math_unstable.rs:4:19
3    |
4 LL |         let add = std::intrinsics::unchecked_add(x, y);
5    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
8
9 error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
10   --> $DIR/unchecked_math_unstable.rs:5:19
11    |
12 LL |         let sub = std::intrinsics::unchecked_sub(x, y);
13    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
16
17 error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
18   --> $DIR/unchecked_math_unstable.rs:6:19
19    |
20 LL |         let mul = std::intrinsics::unchecked_mul(x, y);
21    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.