We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 546cb21 + ff94fea commit 0ba7d41Copy full SHA for 0ba7d41
src/libsyntax_pos/span_encoding.rs
@@ -74,12 +74,12 @@ const CTXT_INDEX: usize = 2;
74
75
// Tag = 0, inline format.
76
// -------------------------------------------------------------
77
-// | base 31:8 | len 7:1 | ctxt (currently 0 bits) | tag 0:0 |
+// | base 31:7 | len 6:1 | ctxt (currently 0 bits) | tag 0:0 |
78
79
// Since there are zero bits for ctxt, only SpanData with a 0 SyntaxContext
80
// can be inline.
81
-const INLINE_SIZES: [u32; 3] = [24, 7, 0];
82
-const INLINE_OFFSETS: [u32; 3] = [8, 1, 1];
+const INLINE_SIZES: [u32; 3] = [25, 6, 0];
+const INLINE_OFFSETS: [u32; 3] = [7, 1, 1];
83
84
// Tag = 1, interned format.
85
// ------------------------
0 commit comments