File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
src/tools/rust-analyzer/crates Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,8 @@ expect-test = "1.4.0"
3434test-utils.workspace = true
3535test-fixture.workspace = true
3636
37+ [features ]
38+ in-rust-tree = []
39+
3740[lints ]
3841workspace = true
Original file line number Diff line number Diff line change 5858//! See also this post:
5959//! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html>
6060
61+ #![ cfg_attr( feature = "in-rust-tree" , feature( rustc_private) ) ]
62+
6163mod assist_config;
6264mod assist_context;
6365#[ cfg( test) ]
Original file line number Diff line number Diff line change 66//! The tests for this functionality live in another crate:
77//! `hir_def::macro_expansion_tests::mbe`.
88
9+ #![ cfg_attr( feature = "in-rust-tree" , feature( rustc_private) ) ]
10+
911#[ cfg( not( feature = "in-rust-tree" ) ) ]
1012extern crate ra_ap_rustc_lexer as rustc_lexer;
1113#[ cfg( feature = "in-rust-tree" ) ]
You can’t perform that action at this time.
0 commit comments