mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +00:00
18 lines
475 B
Rust
18 lines
475 B
Rust
//@ check-pass
|
|
//
|
|
// Regression test for issue #99286
|
|
// Tests that stabilized intrinsics are accessible
|
|
// through 'std::intrinsics', even though the module
|
|
// is unstable.
|
|
|
|
#![allow(unused_imports)]
|
|
#![allow(deprecated)]
|
|
|
|
use std::intrinsics::drop_in_place as _;
|
|
use std::intrinsics::copy_nonoverlapping as _;
|
|
use std::intrinsics::copy as _;
|
|
use std::intrinsics::write_bytes as _;
|
|
use std::intrinsics::{drop_in_place, copy_nonoverlapping, copy, write_bytes};
|
|
|
|
fn main() {}
|