A const local which had its init expression write to the result pointer, but then gets elided to directly initialize, was missing the coercion to the type annotation.