Skip to content

Commit a248411

Browse files
authored
Rollup merge of rust-lang#124627 - RalfJung:interpret-doc-no-inline, r=fmease
interpret: hide some reexports in rustdoc Cc rust-lang#124608
2 parents d6940fb + dba1849 commit a248411

File tree

2 files changed

+3
-0
lines changed
  • compiler/rustc_const_eval/src/interpret
  • src/tools/miri/src

2 files changed

+3
-0
lines changed

Diff for: compiler/rustc_const_eval/src/interpret/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ mod util;
1818
mod validity;
1919
mod visitor;
2020

21+
#[doc(no_inline)]
2122
pub use rustc_middle::mir::interpret::*; // have all the `interpret` symbols in one place: here
2223

2324
pub use self::eval_context::{format_interp_error, Frame, FrameInfo, InterpCx, StackPopCleanup};

Diff for: src/tools/miri/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ mod shims;
8989
// Establish a "crate-wide prelude": we often import `crate::*`.
9090

9191
// Make all those symbols available in the same place as our own.
92+
#[doc(no_inline)]
9293
pub use rustc_const_eval::interpret::*;
9394
// Resolve ambiguity.
95+
#[doc(no_inline)]
9496
pub use rustc_const_eval::interpret::{self, AllocMap, PlaceTy, Provenance as _};
9597

9698
pub use crate::shims::env::{EnvVars, EvalContextExt as _};

0 commit comments

Comments
 (0)