pub trait VisitorWithSpan {
// Required method
fn current_span(&mut self) -> &mut Span;
}Required Methods§
fn current_span(&mut self) -> &mut Span
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl VisitorWithSpan for PartialMonomorphizer<'_>
impl VisitorWithSpan for TypeCheckVisitor<'_>
impl<V: VisitorWithSpan> VisitorWithSpan for DontLeakImplDetails<V>
impl<V: VisitorWithSpan> VisitorWithSpan for VisitWithBinderStack<V>
Combo impl to be able to use VisitWithSpan and VisitWithBinderStack together.