summaryrefslogtreecommitdiffstats
path: root/src/test/ui/intrinsics/safe-intrinsic-mismatch.stderr
blob: 0c2f3be491dd30c83dc9eb06ad54aa39efb9b2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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