Open
Description
I would expect it to support all the same patterns that primitive:reference
does, but nope! you can't really use it for anything except searching for the pointer type
some examples of things that work with one but not the other:
works | does not work |
---|---|
primitive:reference -> |
primitive:pointer -> |
primitive:reference<u8> -> |
primitive:pointer<u8> -> |
&u8 -> |
*const u8 -> |
reference<mut, u8> -> |
pointer<mut, u8> -> |
Tested on 1.86.0 and latest nightly.