We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5d544 commit 706d098Copy full SHA for 706d098
1 file changed
library/core/src/arch.rs
@@ -94,11 +94,12 @@ pub fn breakpoint() {
94
///
95
/// ## Example
96
/// ```
97
-/// # #![cfg(not(miri))] // FIXME: Figure out how to make miri work before stabilizing this macro
98
/// #![feature(return_address)]
99
-///
+/// # #[cfg(not(miri))] // FIXME: Figure out how to make miri work before stabilizing this macro
+/// # {
100
/// let addr = core::arch::return_address!();
101
/// println!("Caller is {addr:p}");
102
+/// # }
103
104
#[unstable(feature = "return_address", issue = "154966")]
105
#[allow_internal_unstable(core_intrinsics)]
0 commit comments