Skip to content

Commit 23052ad

Browse files
committed
Doc comment custom MIR debuginfo.
1 parent 4578435 commit 23052ad

File tree

1 file changed

+5
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+5
-0
lines changed

library/core/src/intrinsics/mir.rs

+5
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@
249249
//! - [`Call`] has an associated function as well. The third argument of this function is a normal
250250
//! function call expression, for example `my_other_function(a, 5)`.
251251
//!
252+
//! #### Debuginfo
253+
//!
254+
//! - A debuginfo name can be given to a local using `debug my_name => contents;`.
255+
//! For `contents`, we use the same syntax as operands, to support both places and constants.
256+
//!
252257
253258
#![unstable(
254259
feature = "custom_mir",

0 commit comments

Comments
 (0)