difftreelog
test fix gc import
in: master
1 file changed
crates/jrsonnet-evaluator/src/lib.rsdiffbeforeafterboth491 use crate::{491 use crate::{492 error::Error::*, native::NativeCallbackHandler, primitive_equals, EvaluationState,492 error::Error::*, native::NativeCallbackHandler, primitive_equals, EvaluationState,493 };493 };494 use gc::Gc;494 use jrsonnet_gc::{Finalize, Gc, Trace};495 use jrsonnet_interner::IStr;495 use jrsonnet_interner::IStr;496 use jrsonnet_parser::*;496 use jrsonnet_parser::*;497 use std::{497 use std::{924924925 evaluator.with_stdlib();925 evaluator.with_stdlib();926926927 #[derive(gc::Trace, gc::Finalize)]927 #[derive(Trace, Finalize)]928 struct NativeAdd;928 struct NativeAdd;929 impl NativeCallbackHandler for NativeAdd {929 impl NativeCallbackHandler for NativeAdd {930 fn call(&self, from: Option<Rc<Path>>, args: &[Val]) -> crate::error::Result<Val> {930 fn call(&self, from: Option<Rc<Path>>, args: &[Val]) -> crate::error::Result<Val> {