
Casting to named argument mentions 'match type <foo>'
=====================================================

> vec_cast(1, "", x_arg = "foo", to_arg = "bar")
Error: Can't convert `foo` <double> to match type of `bar` <character>.

> vec_cast(1, "", x_arg = "foo")
Error: Can't convert `foo` <double> to <character>.

