Skip to content

Commit d149ea1

Browse files
authored
Rollup merge of rust-lang#148395 - Kobzol:generalize-branch-references, r=marcoieni
Generalize branch references It should be safe to merge this before the rename, and I'd like to do that, so we can test if beta/stable PRs work. r? ``@marcoieni``
2 parents 0ba0737 + 196a5fa commit d149ea1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/src/intrinsics/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
//! intrinsics via stable wrapper functions. Use these instead.
66
//!
77
//! These are the imports making intrinsics available to Rust code. The actual implementations live in the compiler.
8-
//! Some of these intrinsics are lowered to MIR in <https://github.com/rust-lang/rust/blob/master/compiler/rustc_mir_transform/src/lower_intrinsics.rs>.
9-
//! The remaining intrinsics are implemented for the LLVM backend in <https://github.com/rust-lang/rust/blob/master/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs>
10-
//! and <https://github.com/rust-lang/rust/blob/master/compiler/rustc_codegen_llvm/src/intrinsic.rs>,
11-
//! and for const evaluation in <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs>.
8+
//! Some of these intrinsics are lowered to MIR in <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir_transform/src/lower_intrinsics.rs>.
9+
//! The remaining intrinsics are implemented for the LLVM backend in <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs>
10+
//! and <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_codegen_llvm/src/intrinsic.rs>,
11+
//! and for const evaluation in <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_const_eval/src/interpret/intrinsics.rs>.
1212
//!
1313
//! # Const intrinsics
1414
//!
1515
//! In order to make an intrinsic unstable usable at compile-time, copy the implementation from
1616
//! <https://github.com/rust-lang/miri/blob/master/src/intrinsics> to
17-
//! <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs>
17+
//! <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_const_eval/src/interpret/intrinsics.rs>
1818
//! and make the intrinsic declaration below a `const fn`. This should be done in coordination with
1919
//! wg-const-eval.
2020
//!

0 commit comments

Comments
 (0)