mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 07:25:31 +00:00
implement Hash for proc_macro::LineColumn
For use in `HashMap<LineColumn, TokenTree>` or `HashMap<LineColumn, Comment>`, for example.
[Here is an example of one case complicated by the absence of this impl.](71bc45e417/src/comments.rs (L25-L34))
Tracking issue: https://github.com/rust-lang/rust/issues/54725