diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-12-22 17:42:04 -0500 | 
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-12-22 17:42:47 -0500 | 
| commit | a06baa56b95674fc626b3c3fd680d6a65357fe60 (patch) | |
| tree | cd9d867c2ca3cff5c1d6b3bd73377c44649fb075 /src/libsyntax_pos/span_encoding.rs | |
| parent | 8eb7c58dbb7b32701af113bc58722d0d1fefb1eb (diff) | |
| download | rust-a06baa56b95674fc626b3c3fd680d6a65357fe60.tar.gz rust-a06baa56b95674fc626b3c3fd680d6a65357fe60.zip | |
Format the world
Diffstat (limited to 'src/libsyntax_pos/span_encoding.rs')
| -rw-r--r-- | src/libsyntax_pos/span_encoding.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libsyntax_pos/span_encoding.rs b/src/libsyntax_pos/span_encoding.rs index 525ec136232..d769cf83a03 100644 --- a/src/libsyntax_pos/span_encoding.rs +++ b/src/libsyntax_pos/span_encoding.rs @@ -4,9 +4,9 @@ // The encoding format for inline spans were obtained by optimizing over crates in rustc/libstd. // See https://internals.rust-lang.org/t/rfc-compiler-refactoring-spans/1357/28 +use crate::hygiene::SyntaxContext; use crate::GLOBALS; use crate::{BytePos, SpanData}; -use crate::hygiene::SyntaxContext; use rustc_data_structures::fx::FxHashMap; @@ -61,7 +61,7 @@ use rustc_data_structures::fx::FxHashMap; pub struct Span { base_or_index: u32, len_or_tag: u16, - ctxt_or_zero: u16 + ctxt_or_zero: u16, } const LEN_TAG: u16 = 0b1000_0000_0000_0000; | 
