We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11cee74 + 0220600 commit 54bbd56Copy full SHA for 54bbd56
src/libsyntax_pos/span_encoding.rs
@@ -59,9 +59,11 @@ const LEN_INDEX: usize = 1;
59
const CTXT_INDEX: usize = 2;
60
61
// Tag = 0, inline format.
62
-// -----------------------------------
63
-// | base 31:8 | len 7:1 | tag 0:0 |
64
+// -------------------------------------------------------------
+// | base 31:8 | len 7:1 | ctxt (currently 0 bits) | tag 0:0 |
65
+// Since there are zero bits for ctxt, only SpanData with a 0 SyntaxContext
66
+// can be inline.
67
const INLINE_SIZES: [u32; 3] = [24, 7, 0];
68
const INLINE_OFFSETS: [u32; 3] = [8, 1, 1];
69
0 commit comments