File tree 5 files changed +8
-1
lines changed
src/tools/rust-analyzer/crates
5 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
//! The type system. We currently use this to infer types for completion, hover
2
2
//! information and various assists.
3
3
#![ warn( rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros) ]
4
+ #![ cfg_attr( feature = "in-rust-tree" , feature( rustc_private) ) ]
4
5
5
6
#[ allow( unused) ]
6
7
macro_rules! eprintln {
Original file line number Diff line number Diff line change @@ -30,3 +30,6 @@ profile.workspace = true
30
30
stdx.workspace = true
31
31
syntax.workspace = true
32
32
tt.workspace = true
33
+
34
+ [features ]
35
+ in-rust-tree = []
Original file line number Diff line number Diff line change 18
18
//! <https://www.tedinski.com/2018/02/06/system-boundaries.html>.
19
19
20
20
#![ warn( rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros) ]
21
+ #![ cfg_attr( feature = "in-rust-tree" , feature( rustc_private) ) ]
21
22
#![ recursion_limit = "512" ]
22
23
23
24
mod semantics;
Original file line number Diff line number Diff line change 8
8
//! in this crate.
9
9
10
10
// For proving that RootDatabase is RefUnwindSafe.
11
- #![ recursion_limit = "128" ]
12
11
#![ warn( rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros) ]
12
+ #![ cfg_attr( feature = "in-rust-tree" , feature( rustc_private) ) ]
13
+ #![ recursion_limit = "128" ]
13
14
14
15
#[ allow( unused) ]
15
16
macro_rules! eprintln {
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ in-rust-tree = [
97
97
" syntax/in-rust-tree" ,
98
98
" parser/in-rust-tree" ,
99
99
" rustc-dependencies/in-rust-tree" ,
100
+ " hir/in-rust-tree" ,
100
101
" hir-def/in-rust-tree" ,
101
102
" hir-ty/in-rust-tree" ,
102
103
]
You can’t perform that action at this time.
0 commit comments