rust/compiler/rustc_index_macros/src
Vadim Petrochenkov 14da80c372 rustc_span: Minor improvements
Introduce `{IndexNewtype,SyntaxContext}::from_u16` for convenience because small indices are sometimes encoded as `u16`.
Use `SpanData::span` instead of `Span::new` where appropriate.
Add a clarifying comment about decoding span parents.
2024-06-16 14:08:25 +03:00
..
lib.rs
newtype.rs rustc_span: Minor improvements 2024-06-16 14:08:25 +03:00