rust/tests/ui/intrinsics/safe-intrinsic-mismatch.stderr

15 lines
527 B
Plaintext
Raw Normal View History

2022-09-27 00:22:07 -05:00
error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `size_of`
--> $DIR/safe-intrinsic-mismatch.rs:5:5
|
LL | fn size_of<T>() -> usize;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `assume`
--> $DIR/safe-intrinsic-mismatch.rs:8:5
|
LL | fn assume(b: bool);
| ^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors