File tree Expand file tree Collapse file tree 7 files changed +11
-4
lines changed Expand file tree Collapse file tree 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
5454test-fixture.workspace = true
5555
5656[features ]
57- in-rust-tree = []
57+ in-rust-tree = [" hir-expand/in-rust-tree " ]
5858
5959[lints ]
6060workspace = true
Original file line number Diff line number Diff line change @@ -37,5 +37,8 @@ parser.workspace = true
3737[dev-dependencies ]
3838expect-test = " 1.4.0"
3939
40+ [features ]
41+ in-rust-tree = [" syntax/in-rust-tree" ]
42+
4043[lints ]
4144workspace = true
Original file line number Diff line number Diff line change 33//! Specifically, it implements a concept of `MacroFile` -- a file whose syntax
44//! tree originates not from the text of some `FileId`, but from some macro
55//! expansion.
6-
6+ #! [ cfg_attr ( feature = "in-rust-tree" , feature ( rustc_private ) ) ]
77#![ warn( rust_2018_idioms, unused_lifetimes) ]
88
99pub mod attrs;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ test-utils.workspace = true
6161test-fixture.workspace = true
6262
6363[features ]
64- in-rust-tree = []
64+ in-rust-tree = [" hir-expand/in-rust-tree " ]
6565
6666[lints ]
6767workspace = true
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ tt.workspace = true
3333span.workspace = true
3434
3535[features ]
36- in-rust-tree = []
36+ in-rust-tree = [" hir-expand/in-rust-tree " ]
3737
3838[lints ]
3939workspace = true
Original file line number Diff line number Diff line change @@ -28,5 +28,8 @@ tt.workspace = true
2828vfs-notify.workspace = true
2929vfs.workspace = true
3030
31+ [features ]
32+ in-rust-tree = [" hir-expand/in-rust-tree" ]
33+
3134[lints ]
3235workspace = true
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ in-rust-tree = [
9494 " hir/in-rust-tree" ,
9595 " hir-def/in-rust-tree" ,
9696 " hir-ty/in-rust-tree" ,
97+ " load-cargo/in-rust-tree" ,
9798]
9899
99100[lints ]
You can’t perform that action at this time.
0 commit comments