glacier icon indicating copy to clipboard operation
glacier copied to clipboard

ices/94379.rs: fixed with no errors

Open github-actions[bot] opened this issue 1 year ago • 0 comments

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

==============

github-actions[bot] avatar Feb 17 '24 03:02 github-actions[bot]