So I realized I missed static mut in my unsafe PR's. I got the highlight one done pretty easily, but I'm having trouble determining whether a path expr points to a static. Is there any infrastructure setup to determine that? I imagine it would need to be something within infer, since the static mut name could be shadowed, but nothing stands out.
Found a way to get the info. I was able to get a resolver for the expr, then call
resolve_path_in_value_ns to determine whether it's static or not.