File tree 7 files changed +11
-4
lines changed
7 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ test-utils.workspace = true
54
54
test-fixture.workspace = true
55
55
56
56
[features ]
57
- in-rust-tree = []
57
+ in-rust-tree = [" hir-expand/in-rust-tree " ]
58
58
59
59
[lints ]
60
60
workspace = true
Original file line number Diff line number Diff line change @@ -37,5 +37,8 @@ parser.workspace = true
37
37
[dev-dependencies ]
38
38
expect-test = " 1.4.0"
39
39
40
+ [features ]
41
+ in-rust-tree = [" syntax/in-rust-tree" ]
42
+
40
43
[lints ]
41
44
workspace = true
Original file line number Diff line number Diff line change 3
3
//! Specifically, it implements a concept of `MacroFile` -- a file whose syntax
4
4
//! tree originates not from the text of some `FileId`, but from some macro
5
5
//! expansion.
6
-
6
+ #! [ cfg_attr ( feature = "in-rust-tree" , feature ( rustc_private ) ) ]
7
7
#![ warn( rust_2018_idioms, unused_lifetimes) ]
8
8
9
9
pub mod attrs;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ test-utils.workspace = true
61
61
test-fixture.workspace = true
62
62
63
63
[features ]
64
- in-rust-tree = []
64
+ in-rust-tree = [" hir-expand/in-rust-tree " ]
65
65
66
66
[lints ]
67
67
workspace = true
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ tt.workspace = true
33
33
span.workspace = true
34
34
35
35
[features ]
36
- in-rust-tree = []
36
+ in-rust-tree = [" hir-expand/in-rust-tree " ]
37
37
38
38
[lints ]
39
39
workspace = true
Original file line number Diff line number Diff line change @@ -28,5 +28,8 @@ tt.workspace = true
28
28
vfs-notify.workspace = true
29
29
vfs.workspace = true
30
30
31
+ [features ]
32
+ in-rust-tree = [" hir-expand/in-rust-tree" ]
33
+
31
34
[lints ]
32
35
workspace = true
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ in-rust-tree = [
94
94
" hir/in-rust-tree" ,
95
95
" hir-def/in-rust-tree" ,
96
96
" hir-ty/in-rust-tree" ,
97
+ " load-cargo/in-rust-tree" ,
97
98
]
98
99
99
100
[lints ]
You can’t perform that action at this time.
0 commit comments