move rustdocvisitor out