mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +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() {}
|