rust/tests/ui/error-codes/E0308.rs

11 lines
158 B
Rust

#![feature(intrinsics)]
#![feature(rustc_attrs)]
extern "rust-intrinsic" {
#[rustc_safe_intrinsic]
fn size_of<T>(); //~ ERROR E0308
}
fn main() {
}