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 f4125af commit d3842efCopy full SHA for d3842ef
1 file changed
compiler/rustc_const_eval/src/const_eval/dyn_trait.rs
@@ -7,7 +7,7 @@ use rustc_span::sym;
7
use crate::const_eval::CompileTimeMachine;
8
use crate::interpret::{Immediate, InterpCx, MPlaceTy, MemoryKind, Writeable};
9
impl<'tcx> InterpCx<'tcx, CompileTimeMachine<'tcx>> {
10
- fn write_dyn_trait_type_info(
+ pub(crate) fn write_dyn_trait_type_info(
11
&mut self,
12
dyn_place: impl Writeable<'tcx, CtfeProvenance>,
13
data: &'tcx ty::List<ty::Binder<'tcx, ty::ExistentialPredicate<'tcx>>>,
0 commit comments