Skip to content

Commit 671a872

Browse files
authored
Fix locations for intrinsics impls
1 parent 4ca19e0 commit 671a872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/intrinsics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Compiler intrinsics.
22
//!
33
//! The corresponding definitions are in `compiler/rustc_codegen_llvm/src/intrinsic.rs`.
4-
//! The corresponding const implementations are in `compiler/rustc_mir/src/interpret/intrinsics.rs`
4+
//! The corresponding const implementations are in `compiler/rustc_const_eval/src/interpret/intrinsics.rs`
55
//!
66
//! # Const intrinsics
77
//!
@@ -10,7 +10,7 @@
1010
//!
1111
//! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
1212
//! from <https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs> to
13-
//! `compiler/rustc_mir/src/interpret/intrinsics.rs` and add a
13+
//! `compiler/rustc_const_eval/src/interpret/intrinsics.rs` and add a
1414
//! `#[rustc_const_unstable(feature = "foo", issue = "01234")]` to the intrinsic.
1515
//!
1616
//! If an intrinsic is supposed to be used from a `const fn` with a `rustc_const_stable` attribute,

0 commit comments

Comments
 (0)