glacier
glacier copied to clipboard
ices/94379.rs: fixed with no errors
Issue: https://github.com/rust-lang/rust/issues/94379
#![crate_type = "staticlib"]
#![feature(core_intrinsics)]
use std::intrinsics::rustc_peek;
#[no_mangle]
fn foo() -> i32 {
let x = 0;
rustc_peek(x)
}
=== stdout ===
=== stderr ===
warning: the feature `core_intrinsics` is internal to the compiler or standard library
--> /home/runner/work/glacier/glacier/ices/94379.rs:2:12
|
2 | #![feature(core_intrinsics)]
| ^^^^^^^^^^^^^^^
|
= note: using it is strongly discouraged
= note: `#[warn(internal_features)]` on by default
warning: 1 warning emitted
==============