1 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
2 --> $DIR/unchecked_math_unsafe.rs:8:15
4 LL | let add = std::intrinsics::unchecked_add(x, y);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
7 = note: consult the function's documentation for information on how to avoid undefined behavior
9 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
10 --> $DIR/unchecked_math_unsafe.rs:9:15
12 LL | let sub = std::intrinsics::unchecked_sub(x, y);
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
15 = note: consult the function's documentation for information on how to avoid undefined behavior
17 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
18 --> $DIR/unchecked_math_unsafe.rs:10:15
20 LL | let mul = std::intrinsics::unchecked_mul(x, y);
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
23 = note: consult the function's documentation for information on how to avoid undefined behavior
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0133`.