mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
266 B
Rust
12 lines
266 B
Rust
#![forbid(internal_features)]
|
|
// A lang feature and a lib feature.
|
|
#![feature(intrinsics, panic_internals)]
|
|
//~^ ERROR: internal
|
|
//~| ERROR: internal
|
|
|
|
extern "rust-intrinsic" {
|
|
fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize);
|
|
}
|
|
|
|
fn main() {}
|