You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #96263 - Dylan-DPC:rollup-0eofl13, r=Dylan-DPC
Rollup of 5 pull requests
Successful merges:
- #90630 (Create real parser for search queries)
- #96193 ([fuchsia] Add implementation for `current_exe`)
- #96196 (Remove assertion that all paths in `ShouldRun` exist)
- #96228 (Fix locations for intrinsics impls and change to links)
- #96236 (Add an explicit `Span` field to `OutlivesConstraint`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardExpand all lines: library/core/src/intrinsics.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
//! Compiler intrinsics.
2
2
//!
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`
3
+
//! The corresponding definitions are in <https://github.com/rust-lang/rust/blob/master/compiler/rustc_codegen_llvm/src/intrinsic.rs>.
4
+
//! The corresponding const implementations are in <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs>.
5
5
//!
6
6
//! # Const intrinsics
7
7
//!
@@ -10,8 +10,8 @@
10
10
//!
11
11
//! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
12
12
//! 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
14
-
//! `#[rustc_const_unstable(feature = "foo", issue = "01234")]` to the intrinsic.
13
+
//! <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs> and add a
14
+
//! `#[rustc_const_unstable(feature = "const_such_and_such", issue = "01234")]` to the intrinsic declaration.
15
15
//!
16
16
//! If an intrinsic is supposed to be used from a `const fn` with a `rustc_const_stable` attribute,
17
17
//! the intrinsic's attribute must be `rustc_const_stable`, too. Such a change should not be done
0 commit comments