Diffstat (limited to 'src/build/builders/debug.rs')
| -rw-r--r-- | src/build/builders/debug.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/build/builders/debug.rs b/src/build/builders/debug.rs index a97662e..54efc96 100644 --- a/src/build/builders/debug.rs +++ b/src/build/builders/debug.rs @@ -3,7 +3,7 @@ use core::{any::TypeId, marker::PhantomData, ops::ControlFlow}; use crate::{ any::{ static_wrapper::{DynOwnedStatic, OwnedStatic}, - LtTypeId, + TypeNameId, }, any_trait, effect::{Effect, Future}, @@ -34,11 +34,11 @@ any_trait! { DynValue<'ctx, DynOwnedStatic<bool>, E>, // DynValue<'a, 'ctx, OwnedStatic<&'static [&'static str]>, E>, DynSequence<'ctx, E>, - ] else fallback where E: Effect<'ctx> -} - -fn fallback(id: LtTypeId<'_>) { - // println!("Unknown trait: {}", id); + ] else { + let id; + println!("Unknown trait: {:?}", id); + None + } where E: Effect<'ctx> } impl<'ctx, E: Effect<'ctx>> Visitor<E> { |