anchor.diff:          let macroItem = mkMacroItem attrs macroName [expr]
           [macroItem]
   
  -    let transformModuleFunction (com: IRustCompiler) ctx (info: Fable.MemberFunctionOrValue) (decl: Fable.MemberDecl) =
  +    let transformModuleFunction (com: IRustCompiler) ctx (memb: Fable.MemberFunctionOrValue) (decl: Fable.MemberDecl) =
           let name = splitLast decl.Name
           let isByRefPreferred =
  -            info.Attributes
  +            memb.Attributes
               |> Seq.exists (fun a -> a.Entity.FullName = Atts.rustByRef)
           let fnDecl, fnBody, fnGenParams =
               let ctx = { ctx with Typegen = { ctx.Typegen with IsParamByRefPreferred = isByRefPreferred } }
  -            let parameters = info.CurriedParameterGroups |> List.concat
  -            transformFunc com ctx (Some info.FullName) decl.Args parameters decl.Body
  +            let parameters = memb.CurriedParameterGroups |> List.concat
  +            // let returnType = memb.ReturnParameter.Type
  +            transformFunc com ctx (Some memb.FullName) parameters decl.Args decl.Body
           let fnBodyBlock =
               if decl.Body.Type = Fable.Unit
               then mkSemiBlock fnBody
  
positive.code:             mkMethodCallExpr "get_or_init" None callee [closureExpr]
              |> mkExprStmt
  
          let attrs = transformAttributes com ctx info.Attributes
          let fnBody = [staticStmt; valueStmt] |> mkBlock |> Some
          let fnDecl = mkFnDecl [] (mkFnRetTy ty)
          let fnKind = mkFnKind DEFAULT_FN_HEADER fnDecl NO_GENERICS fnBody
          let fnItem = mkFnItem attrs name fnKind
          // let fnItem =
          //     if info.IsPublic
          //     then fnItem |> mkPublicItem
          //     else fnItem
          [fnItem |> mkPublicItem]
  
negative.code:         let entName = getEntityFullName com ctx ent.Ref
          let paramTypes = idents |> List.map (fun id -> id.Type)
          let memberRef = Fable.GeneratedMember.Function(entName, paramTypes, body.Type, entRef = ent.Ref)
          let memb = com.GetMember(memberRef)
          transformAssocMemberFunction com ctx memb entName idents body
  
      let transformPrimaryConstructor (com: IRustCompiler) ctx (ent: Fable.Entity) (ctor: Fable.MemberDecl) =
          let body =
  