Open
Description
Right now we use debug mode (#136) with the special error type for addition of composites to primals failing, to give instructions on how to overload things to fix this.
But in julia 1.5 there is special functionality for adding hints for how to resolve errors build in by some magic:
JuliaLang/julia#35094
ChainRulesCore.jl/src/differentials/composite.jl
Lines 233 to 254 in 1be9bc4