Skip to content

Commit 5228688

Browse files
committed
More instances of the old layout in rust analyzer
1 parent e4165e9 commit 5228688

File tree

1 file changed

+3
-0
lines changed
  • src/tools/rust-analyzer/crates/proc-macro-api/src/legacy_protocol/msg

1 file changed

+3
-0
lines changed

src/tools/rust-analyzer/crates/proc-macro-api/src/legacy_protocol/msg/flat.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ impl FlatTree {
222222
span: proc_macro_srv::DelimSpan {
223223
open: call_site,
224224
close: call_site,
225+
#[cfg(bootstrap)]
225226
entire: call_site,
226227
},
227228
};
@@ -273,6 +274,7 @@ impl FlatTree {
273274
span: proc_macro_srv::DelimSpan {
274275
open: call_site,
275276
close: call_site,
277+
#[cfg(bootstrap)]
276278
entire: call_site,
277279
},
278280
};
@@ -947,6 +949,7 @@ impl<T: SpanTransformer> Reader<'_, T> {
947949
open: read_span(repr.open),
948950
close: read_span(repr.close),
949951
// FIXME
952+
#[cfg(bootstrap)]
950953
entire: read_span(repr.close),
951954
},
952955
};

0 commit comments

Comments
 (0)