Skip to content

Commit 7878351

Browse files
committed
Correct file path after some restructures in compiler
1 parent 0855616 commit 7878351

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/intrinsics.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Compiler intrinsics.
22
//!
3-
//! The corresponding definitions are in `librustc_codegen_llvm/intrinsic.rs`.
4-
//! The corresponding const implementations are in `librustc_mir/interpret/intrinsics.rs`
3+
//! 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`
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-
//! `librustc_mir/interpret/intrinsics.rs` and add a
13+
//! `compiler/rustc_mir/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,

panic_unwind/src/seh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub struct _TypeDescriptor {
175175
// to be able to catch Rust panics by simply declaring a `struct rust_panic`.
176176
//
177177
// When modifying, make sure that the type name string exactly matches
178-
// the one used in src/librustc_codegen_llvm/intrinsic.rs.
178+
// the one used in `compiler/rustc_codegen_llvm/src/intrinsic.rs`.
179179
const TYPE_NAME: [u8; 11] = *b"rust_panic\0";
180180

181181
static mut THROW_INFO: _ThrowInfo = _ThrowInfo {

0 commit comments

Comments
 (0)