use lean_rs::{
CapturedEvent, DIAGNOSTIC_CAPTURE_DEFAULT_CAPACITY, DecodeCallResult, DiagnosticCapture, HostFailure, HostStage,
LEAN_ERROR_MESSAGE_LIMIT, LeanAbi, LeanArgs, LeanDeclaration, LeanDiagnosticCode, LeanError, LeanException,
LeanExceptionKind, LeanExported, LeanExpr, LeanIo, LeanLevel, LeanLibrary, LeanModule, LeanName, LeanResult,
LeanRuntime, LeanThreadGuard, Obj, ObjRef, VERSION,
};
#[test]
fn l1_curated_surface_is_reachable_from_crate_root() {
let _: usize = LEAN_ERROR_MESSAGE_LIMIT;
let _: usize = DIAGNOSTIC_CAPTURE_DEFAULT_CAPACITY;
let _: &str = VERSION;
fn _surface_shapes<'lean, 'lib>(
_runtime: &'lean LeanRuntime,
_guard: LeanThreadGuard<'lean>,
_library: LeanLibrary<'lean>,
_module: LeanModule<'lean, 'lib>,
_exported: LeanExported<'lean, 'lib, (u64,), u64>,
_io_marker: LeanIo<u64>,
_name: LeanName<'lean>,
_level: LeanLevel<'lean>,
_expr: LeanExpr<'lean>,
_decl: LeanDeclaration<'lean>,
_obj: Obj<'lean>,
_obj_ref: ObjRef<'lean, '_>,
_result: LeanResult<()>,
_err: LeanError,
_exc: LeanException,
_host_fail: HostFailure,
_stage: HostStage,
_kind: LeanExceptionKind,
_code: LeanDiagnosticCode,
_capture: DiagnosticCapture,
_event: CapturedEvent,
) where
u64: LeanAbi<'lean> + DecodeCallResult<'lean>,
(u64,): LeanArgs<'lean>,
{
}
}