MWE: ```julia using ChainRulesCore: ProjectTo x = [randn(2), randn(3)] @code_warntype ProjectTo(x) ``` It appears to be the case that this happens because ```julia @code_warntype map(ProjectTo, x) ``` isn't type-stable. I'm not sure what a fix looks like here unfortunately.