-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit 3b7ca5e
[DO NOT MERGE] rust-analyzer: hacks to get the main tests to build
I needed to:
- Consistently use `feature(rustc_private)` on all participating r-a
crates under `test` scenario.
- Force an `extern crate rustc_driver;` on all the r-a crates for
reasons I don't yet understand.
At least this builds, *at all*.1 parent c6df1d2 commit 3b7ca5e
File tree
35 files changed
+172
-2
lines changed- src/tools/rust-analyzer/crates
- base-db
- src
- cfg
- src
- hir-def
- src
- hir-expand/src
- hir-ty/src
- hir/src
- ide-assists/src
- ide-completion
- src
- ide-db
- src
- ide-diagnostics
- src
- ide-ssr
- src
- ide/src
- load-cargo/src
- mbe/src
- parser/src
- proc-macro-api
- src
- project-model
- src
- rust-analyzer
- src
- tests/slow-tests
- span
- src
- syntax-bridge/src
- syntax/src
- test-fixture
- src
- tt/src
35 files changed
+172
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
33 | 37 |
| |
34 | 38 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
2 | 9 |
| |
3 | 10 |
| |
4 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
36 | 40 |
| |
37 | 41 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
3 | 9 |
| |
4 | 10 |
| |
5 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | + | ||
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
12 | 16 |
| |
13 | 17 |
| |
14 | 18 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
6 | 7 |
| |
7 | 8 |
| |
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
8 | 13 |
| |
9 | 14 |
| |
10 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
6 | 10 |
| |
7 | 11 |
| |
8 | 12 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | - | ||
21 | 20 |
| |
22 | 21 |
| |
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
23 | 28 |
| |
24 | 29 |
| |
25 | 30 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
63 | 67 |
| |
64 | 68 |
| |
65 | 69 |
| |
|
0 commit comments