Fix binder handling in unnecessary_to_owned
#11953
+150
−103
Merged