This commit is contained in:
AF 2023-07-01 14:08:57 +00:00
parent 0f031109a6
commit 0edcafad2a
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
mod addresses;
mod context;
mod dectx;
mod demoted;
mod diagnostic;
mod hashing;
mod inctx;
@ -25,6 +26,7 @@ use crate::func::*;
use self::addresses::{Addresses, InliningAddresses};
pub use self::context::Context;
use self::dectx::{DeCtx, DeCtxT};
pub use self::demoted::Demoted;
pub use self::diagnostic::Diagnostic;
pub use self::hashing::{Hash, HASH_SIZE, HASH_ZEROS};
pub use self::inctx::InCtx;

3
src/rcore/demoted.rs Normal file
View File

@ -0,0 +1,3 @@
use super::*;
pub struct Demoted<'a: 'c, 'c, Ctx: Context<'a>>(pub(super) &'c mut dyn DeCtx<'a, Ctx>);