Matching on the AST itself doesn't handle using functions like `with_capacity`, `from_elem` or `.collect()`. This actually checks the type of such expressions.

(See the test case... which I just added ;P )