Skip to content

Instantly share code, notes, and snippets.

@jdm
Created April 2, 2014 15:38
Show Gist options
  • Save jdm/9936635 to your computer and use it in GitHub Desktop.
Save jdm/9936635 to your computer and use it in GitHub Desktop.
[jdm@rosencrantz tmp]$ RUST_LOG=rustc::middle::typeck::check::method rustc deref.rs
method lookup(self_ty=&'a JSRef, expr=expr(51: self.get()), self_expr=expr(50: self))
searching inherent candidates
push_candidates_from_impl: get JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #1>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #1>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #2>>), rcvr_substs=substs(regions=[ReInfer(0)], self_ty=None, tps=[<generic #2>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #3>>), rcvr_substs=substs(regions=[ReInfer(1)], self_ty=None, tps=[<generic #3>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: get Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=&'a JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn86[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn86[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
(searching for autoderef'd method) writing adjustment Some((50u32, @AutoDerefRef(middle::ty::AutoDerefRef{autoderefs: 1u, autoref: Some(AutoPtr(ReInfer(ReVar(middle::ty::RegionVid{id: 7u})), MutImmutable))})))
method lookup(self_ty=&JSRef, expr=expr(69: self.get()), self_expr=expr(68: self))
searching inherent candidates
push_candidates_from_impl: get JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #1>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #1>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #2>>), rcvr_substs=substs(regions=[ReInfer(0)], self_ty=None, tps=[<generic #2>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #3>>), rcvr_substs=substs(regions=[ReInfer(1)], self_ty=None, tps=[<generic #3>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: get Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=&JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn86[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn86[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
(searching for autoderef'd method) writing adjustment Some((68u32, @AutoDerefRef(middle::ty::AutoDerefRef{autoderefs: 1u, autoref: Some(AutoPtr(ReInfer(ReVar(middle::ty::RegionVid{id: 7u})), MutImmutable))})))
method lookup(self_ty=&Node, expr=expr(71: self.get().RemoveChild(0)), self_expr=expr(69: self.get()))
searching inherent candidates
push_candidates_from_impl: RemoveChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #7>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #7>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #8>>), rcvr_substs=substs(regions=[ReInfer(9)], self_ty=None, tps=[<generic #8>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #9>>), rcvr_substs=substs(regions=[ReInfer(10)], self_ty=None, tps=[<generic #9>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #7>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #7>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #8>>), rcvr_substs=substs(regions=[ReInfer(9)], self_ty=None, tps=[<generic #8>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #9>>), rcvr_substs=substs(regions=[ReInfer(10)], self_ty=None, tps=[<generic #9>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=&Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn108[&Node, uint] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn108[&Node, uint] -> ()
after replacing bound regions, fty=fn(&Node, uint)
(searching for autoderef'd method) writing adjustment Some((69u32, @AutoDerefRef(middle::ty::AutoDerefRef{autoderefs: 1u, autoref: Some(AutoPtr(ReInfer(ReVar(middle::ty::RegionVid{id: 12u})), MutImmutable))})))
method lookup(self_ty=&JSRef, expr=expr(81: self.get()), self_expr=expr(80: self))
searching inherent candidates
push_candidates_from_impl: get JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #1>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #1>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #2>>), rcvr_substs=substs(regions=[ReInfer(0)], self_ty=None, tps=[<generic #2>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #3>>), rcvr_substs=substs(regions=[ReInfer(1)], self_ty=None, tps=[<generic #3>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: get Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #4>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #4>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #5>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #5>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(5)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=&JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 86u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn86[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn86[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
(searching for autoderef'd method) writing adjustment Some((80u32, @AutoDerefRef(middle::ty::AutoDerefRef{autoderefs: 1u, autoref: Some(AutoPtr(ReInfer(ReVar(middle::ty::RegionVid{id: 7u})), MutImmutable))})))
method lookup(self_ty=&Node, expr=expr(83: self.get().AddChild(0)), self_expr=expr(81: self.get()))
searching inherent candidates
push_candidates_from_impl: AddChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #7>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #7>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #8>>), rcvr_substs=substs(regions=[ReInfer(9)], self_ty=None, tps=[<generic #8>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #9>>), rcvr_substs=substs(regions=[ReInfer(10)], self_ty=None, tps=[<generic #9>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #7>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #7>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #8>>), rcvr_substs=substs(regions=[ReInfer(9)], self_ty=None, tps=[<generic #8>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #9>>), rcvr_substs=substs(regions=[ReInfer(10)], self_ty=None, tps=[<generic #9>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=&Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn118[&Node, uint] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn118[&Node, uint] -> ()
after replacing bound regions, fty=fn(&Node, uint)
(searching for autoderef'd method) writing adjustment Some((81u32, @AutoDerefRef(middle::ty::AutoDerefRef{autoderefs: 1u, autoref: Some(AutoPtr(ReInfer(ReVar(middle::ty::RegionVid{id: 12u})), MutImmutable))})))
method lookup(self_ty=Root, expr=expr(149: root.AddChild()), self_expr=expr(148: root))
searching inherent candidates
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(1)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #6>>), rcvr_substs=substs(regions=[ReInfer(1)], self_ty=None, tps=[<generic #6>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #7>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #7>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #8>>), rcvr_substs=substs(regions=[ReInfer(3)], self_ty=None, tps=[<generic #8>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #9>>), rcvr_substs=substs(regions=[ReInfer(4)], self_ty=None, tps=[<generic #9>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn14[&'a Root] -> &'a JSRef} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn14[&'a Root] -> &'a JSRef
after replacing bound regions, fty=fn(&Root) -> &JSRef
push_candidates_from_impl: AddChild JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #10>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #10>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #11>>), rcvr_substs=substs(regions=[ReInfer(7)], self_ty=None, tps=[<generic #11>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #12>>), rcvr_substs=substs(regions=[ReInfer(8)], self_ty=None, tps=[<generic #12>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: AddChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #13>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #13>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #14>>), rcvr_substs=substs(regions=[ReInfer(11)], self_ty=None, tps=[<generic #14>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #15>>), rcvr_substs=substs(regions=[ReInfer(12)], self_ty=None, tps=[<generic #15>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #13>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #13>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #14>>), rcvr_substs=substs(regions=[ReInfer(11)], self_ty=None, tps=[<generic #14>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #15>>), rcvr_substs=substs(regions=[ReInfer(12)], self_ty=None, tps=[<generic #15>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=Root)
searching inherent candidates
is_relevant(rcvr_ty=Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&Root)
searching inherent candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
searching extension candidates
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #16>>), rcvr_substs=substs(regions=[ReInfer(15)], self_ty=None, tps=[<generic #16>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #16>>), rcvr_substs=substs(regions=[ReInfer(15)], self_ty=None, tps=[<generic #16>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #17>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #17>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #18>>), rcvr_substs=substs(regions=[ReInfer(17)], self_ty=None, tps=[<generic #18>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #19>>), rcvr_substs=substs(regions=[ReInfer(18)], self_ty=None, tps=[<generic #19>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn14[&'a Root] -> &'a JSRef} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn14[&'a Root] -> &'a JSRef
after replacing bound regions, fty=fn(&Root) -> &JSRef
search_step: self_ty=JSRef autoderefs=1
search_for_method(rcvr_ty=JSRef)
searching inherent candidates
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn75[&JSRef] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn75[&JSRef] -> ()
after replacing bound regions, fty=fn(&JSRef)
method lookup(self_ty=JSRef, expr=expr(152: jsref.AddChild()), self_expr=expr(151: jsref))
searching inherent candidates
push_candidates_from_impl: AddChild JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #20>>), rcvr_substs=substs(regions=[ReInfer(23)], self_ty=None, tps=[<generic #20>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #20>>), rcvr_substs=substs(regions=[ReInfer(23)], self_ty=None, tps=[<generic #20>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #21>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #21>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #22>>), rcvr_substs=substs(regions=[ReInfer(25)], self_ty=None, tps=[<generic #22>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #23>>), rcvr_substs=substs(regions=[ReInfer(26)], self_ty=None, tps=[<generic #23>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: AddChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #24>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #24>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #25>>), rcvr_substs=substs(regions=[ReInfer(29)], self_ty=None, tps=[<generic #25>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #26>>), rcvr_substs=substs(regions=[ReInfer(30)], self_ty=None, tps=[<generic #26>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #24>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #24>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #25>>), rcvr_substs=substs(regions=[ReInfer(29)], self_ty=None, tps=[<generic #25>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #26>>), rcvr_substs=substs(regions=[ReInfer(30)], self_ty=None, tps=[<generic #26>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=JSRef)
searching inherent candidates
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 118u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 75u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn75[&JSRef] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn75[&JSRef] -> ()
after replacing bound regions, fty=fn(&JSRef)
method lookup(self_ty=Root, expr=expr(155: root.RemoveChild()), self_expr=expr(154: root))
searching inherent candidates
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #27>>), rcvr_substs=substs(regions=[ReInfer(34)], self_ty=None, tps=[<generic #27>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #27>>), rcvr_substs=substs(regions=[ReInfer(34)], self_ty=None, tps=[<generic #27>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #28>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #28>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #29>>), rcvr_substs=substs(regions=[ReInfer(36)], self_ty=None, tps=[<generic #29>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #30>>), rcvr_substs=substs(regions=[ReInfer(37)], self_ty=None, tps=[<generic #30>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn14[&'a Root] -> &'a JSRef} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn14[&'a Root] -> &'a JSRef
after replacing bound regions, fty=fn(&Root) -> &JSRef
push_candidates_from_impl: RemoveChild JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #31>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #31>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #32>>), rcvr_substs=substs(regions=[ReInfer(40)], self_ty=None, tps=[<generic #32>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #33>>), rcvr_substs=substs(regions=[ReInfer(41)], self_ty=None, tps=[<generic #33>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: RemoveChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #34>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #34>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #35>>), rcvr_substs=substs(regions=[ReInfer(44)], self_ty=None, tps=[<generic #35>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #36>>), rcvr_substs=substs(regions=[ReInfer(45)], self_ty=None, tps=[<generic #36>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #34>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #34>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #35>>), rcvr_substs=substs(regions=[ReInfer(44)], self_ty=None, tps=[<generic #35>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #36>>), rcvr_substs=substs(regions=[ReInfer(45)], self_ty=None, tps=[<generic #36>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=Root)
searching inherent candidates
is_relevant(rcvr_ty=Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&Root)
searching inherent candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #37>>), rcvr_substs=substs(regions=[ReInfer(48)], self_ty=None, tps=[<generic #37>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #37>>), rcvr_substs=substs(regions=[ReInfer(48)], self_ty=None, tps=[<generic #37>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=Root, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Root autoderefs=0
search_for_method(rcvr_ty=&Root)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #38>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #38>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #39>>), rcvr_substs=substs(regions=[ReInfer(50)], self_ty=None, tps=[<generic #39>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #40>>), rcvr_substs=substs(regions=[ReInfer(51)], self_ty=None, tps=[<generic #40>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Root, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn14[&'a Root] -> &'a JSRef} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn14[&'a Root] -> &'a JSRef
after replacing bound regions, fty=fn(&Root) -> &JSRef
search_step: self_ty=JSRef autoderefs=1
search_for_method(rcvr_ty=JSRef)
searching inherent candidates
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&mut JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&mut JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #41>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #41>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #42>>), rcvr_substs=substs(regions=[ReInfer(55)], self_ty=None, tps=[<generic #42>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #43>>), rcvr_substs=substs(regions=[ReInfer(56)], self_ty=None, tps=[<generic #43>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
search_step: self_ty=Node autoderefs=2
search_for_method(rcvr_ty=Node)
searching inherent candidates
is_relevant(rcvr_ty=Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&Node)
searching inherent candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn108[&Node, uint] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn108[&Node, uint] -> ()
after replacing bound regions, fty=fn(&Node, uint)
deref.rs:61:5: 61:23 error: this function takes 1 parameter but 0 parameters were supplied
deref.rs:61 root.RemoveChild();
^~~~~~~~~~~~~~~~~~
method lookup(self_ty=JSRef, expr=expr(158: jsref.RemoveChild()), self_expr=expr(157: jsref))
searching inherent candidates
push_candidates_from_impl: RemoveChild JSRef [AddChild, get]
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #44>>), rcvr_substs=substs(regions=[ReInfer(61)], self_ty=None, tps=[<generic #44>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #44>>), rcvr_substs=substs(regions=[ReInfer(61)], self_ty=None, tps=[<generic #44>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #45>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #45>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #46>>), rcvr_substs=substs(regions=[ReInfer(63)], self_ty=None, tps=[<generic #46>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #47>>), rcvr_substs=substs(regions=[ReInfer(64)], self_ty=None, tps=[<generic #47>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
push_candidates_from_impl: RemoveChild Node [RemoveChild, AddChild]
method lookup_in_trait(self_ty=Node, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=Node autoderefs=0
search_for_method(rcvr_ty=&Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #48>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #48>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #49>>), rcvr_substs=substs(regions=[ReInfer(67)], self_ty=None, tps=[<generic #49>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #50>>), rcvr_substs=substs(regions=[ReInfer(68)], self_ty=None, tps=[<generic #50>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut Node)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #48>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #48>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #49>>), rcvr_substs=substs(regions=[ReInfer(67)], self_ty=None, tps=[<generic #49>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&mut Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #50>>), rcvr_substs=substs(regions=[ReInfer(68)], self_ty=None, tps=[<generic #50>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=JSRef)
searching inherent candidates
is_relevant(rcvr_ty=JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&mut JSRef)
searching inherent candidates
is_relevant(rcvr_ty=&mut JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref_mut RefMut<'b, T>.DerefMut<T> [deref_mut]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #51>>), rcvr_substs=substs(regions=[ReInfer(71)], self_ty=None, tps=[<generic #51>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
search_for_method(rcvr_ty=&mut JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&mut JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #51>>), rcvr_substs=substs(regions=[ReInfer(71)], self_ty=None, tps=[<generic #51>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109344u32})))
(is relevant?) explicit self is a region
method lookup_in_trait(self_ty=JSRef, self_expr=None)
push_candidates_from_impl: deref Root.Deref<JSRef> [deref]
push_candidates_from_impl: deref JSRef.Deref<Node> [deref]
push_candidates_from_impl: deref Rc<T>.Deref<T> [deref]
push_candidates_from_impl: deref Ref<'b, T>.Deref<T> [deref]
push_candidates_from_impl: deref RefMut<'b, T>.Deref<T> [deref]
search_step: self_ty=JSRef autoderefs=0
search_for_method(rcvr_ty=&JSRef)
searching inherent candidates
searching extension candidates
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Root), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 14u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::rc::Rc<<generic #52>>), rcvr_substs=substs(regions=[], self_ty=None, tps=[<generic #52>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 74727u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::Ref<,<generic #53>>), rcvr_substs=substs(regions=[ReInfer(73)], self_ty=None, tps=[<generic #53>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109174u32})))
(is relevant?) explicit self is a region
is_relevant(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(std::cell::RefMut<,<generic #54>>), rcvr_substs=substs(regions=[ReInfer(74)], self_ty=None, tps=[<generic #54>]), origin=MethodStatic(syntax::ast::DefId{krate: 1u32, node: 109314u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&JSRef, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(JSRef), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 39u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn39[&'a JSRef] -> &'a Node} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn39[&'a JSRef] -> &'a Node
after replacing bound regions, fty=fn(&JSRef) -> &Node
search_step: self_ty=Node autoderefs=1
search_for_method(rcvr_ty=Node)
searching inherent candidates
is_relevant(rcvr_ty=Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
searching extension candidates
search_for_method(rcvr_ty=&Node)
searching inherent candidates
is_relevant(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
(is relevant?) explicit self is a region
confirm_candidate(rcvr_ty=&Node, candidate=Candidate(rcvr_ty=RcvrMatchesIfSubtype(Node), rcvr_substs=substs(regions=[], self_ty=None, tps=[]), origin=MethodStatic(syntax::ast::DefId{krate: 0u32, node: 108u32})))
fty=BareFnTy {purity: ImpureFn, abis: "Rust", sig: fn108[&Node, uint] -> ()} all_substs=substs(regions=[], self_ty=None, tps=[])
after subst, fty=fn108[&Node, uint] -> ()
after replacing bound regions, fty=fn(&Node, uint)
deref.rs:62:5: 62:24 error: this function takes 1 parameter but 0 parameters were supplied
deref.rs:62 jsref.RemoveChild();
^~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment