blob: 50e12eaeb5cc0b4aa4d82f477569089212da4406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![feature(intrinsics)]
#![feature(rustc_attrs)]
extern "rust-intrinsic" {
fn size_of<T>() -> usize; //~ ERROR intrinsic safety mismatch
#[rustc_safe_intrinsic]
fn assume(b: bool); //~ ERROR intrinsic safety mismatch
}
fn main() {}
|