note about ref patterns in pointer guide

Fixes #13602
Maybe a simple edit along the lines of "When you're trying to match something that's stored in a pointer, there may be a situation where using `y` directly isn't the best available option. Here's some code:" will do?