Commit graph

105 commits

Author SHA1 Message Date
Ralf Jung
2b50cd1877 rename rustc_allocator_nounwind to rustc_nounwind 2022-10-11 22:47:31 +02:00
Laurențiu Nicola
c867288d1b ⬆️ rust-analyzer 2022-10-11 10:37:35 +03:00
Andres Suarez
a65ddf06e0 update to syn-1.0.102 2022-10-09 13:51:55 -04:00
Petr Portnov
afae9576dc
Fix duplicate usage of a article.
This fixes a typo first appearing in #94624
in which test-macro diagnostic uses "a" article twice.

Since I searched sources for " a a " sequences,
I also fixed the same issue in a few source files where I found it.

Signed-off-by: Petr Portnov <gh@progrm-jarvis.ru>
2022-10-02 21:40:39 +03:00
lcnr
1fc86a63f4 rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
Laurențiu Nicola
9dcd19bd2e ⬆️ rust-analyzer 2022-09-20 17:39:17 +03:00
Laurențiu Nicola
c93b07019d ⬆️ rust-analyzer 2022-09-13 15:38:11 +03:00
Laurențiu Nicola
d0588007a9 ⬆️ rust-analyzer 2022-09-06 21:20:49 +03:00
bors
3892b7074d Auto merge of #100210 - mystor:proc_macro_diag_struct, r=eddyb
proc_macro/bridge: send diagnostics over the bridge as a struct

This removes some RPC when creating and emitting diagnostics, and
simplifies the bridge slightly.

After this change, there are no remaining methods which take advantage
of the support for `&mut` references to objects in the store as
arguments, meaning that support for them could technically be removed if
we wanted. The only remaining uses of immutable references into the
store are `TokenStream` and `SourceFile`.

r? `@eddyb`
2022-09-01 00:26:53 +00:00
Laurențiu Nicola
367f2ad8b6 ⬆️ rust-analyzer 2022-08-30 14:51:24 +03:00
Laurențiu Nicola
b01b9447a8 ⬆️ rust-analyzer 2022-08-23 10:05:52 +03:00
Matthias Krüger
b295639f14
Rollup merge of #100643 - TaKO8Ki:point-at-type-parameter-shadowing-another-type, r=estebank
Point at a type parameter shadowing another type

This patch fixes a part of #97459.
2022-08-18 05:10:46 +02:00
Takayuki Maeda
5a848c701b avoid a &str to String conversion 2022-08-17 04:58:26 +09:00
Laurențiu Nicola
a06da98f21 ⬆️ rust-analyzer 2022-08-16 11:24:50 +03:00
Laurențiu Nicola
f1e801be71 ⬆️ rust-analyzer 2022-08-09 07:23:57 +03:00
Nika Layzell
1c7c792dda proc_macro/bridge: send diagnostics over the bridge as a struct
This removes some RPC when creating and emitting diagnostics, and
simplifies the bridge slightly.

After this change, there are no remaining methods which take advantage
of the support for `&mut` references to objects in the store as
arguments, meaning that support for them could technically be removed if
we wanted. The only remaining uses of immutable references into the
store are `TokenStream` and `SourceFile`.
2022-08-06 15:49:43 -04:00
Laurențiu Nicola
30a3706786 ⬆️ rust-analyzer 2022-08-02 09:05:16 +03:00
Amos Wenger
8bcd4a2b4c Merge commit 'e36a20c24f' into ra-sync-and-pms-component 2022-07-26 11:53:50 +02:00
Amos Wenger
ee584c19c7 Make macros test order-resistant 2022-07-24 16:48:06 +02:00
Amos Wenger
6c07c71821 Sort when iterating through CrateGraph 2022-07-24 16:11:05 +02:00
Amos Wenger
4e1a302efc Sort in DefMap::dump, since HashMap iteration order isn't defined 2022-07-24 16:04:20 +02:00
Amos Wenger
e436260d7a hir-def tests: sort results before comparing, since FxHashSet iteration order isn't guaranteed
(And, in fact, it failed on i686)
2022-07-24 15:55:26 +02:00
Amos Wenger
1bb63df1fd Fix .gitattributes for test_data 2022-07-24 14:05:35 +02:00
Joshua Nelson
ee09dc5510 Small fixups
- use `path` instead of `paths`
- don't mark rust-analyzer as an optional tool
- print the cargo command that's run in the proc-macro-test build script

  this originally was part of a change to fix `test --stage 0 rust-analyzer`,
  but I'm going to leave that for a separate PR so it's easier to review.
2022-07-24 10:38:42 +02:00
Amos Wenger
e0add21c2b Move cfg attrs up to the mod definitions to disable sourcegen 2022-07-24 10:38:34 +02:00
Amos Wenger
753456232b Disable all source-gen tests at compile time 2022-07-24 10:38:28 +02:00
Amos Wenger
107e2653a6 Don't run slow tests in Rust CI, only RA CI 2022-07-24 10:38:19 +02:00
Amos Wenger
43acb501b9 Add 'src/tools/rust-analyzer/' from commit '977e12a0bd'
git-subtree-dir: src/tools/rust-analyzer
git-subtree-mainline: 3c98486a0c
git-subtree-split: 977e12a0bd
2022-07-24 10:37:08 +02:00
Amos Wenger
3c98486a0c Remove rust-analyzer submodule 2022-07-24 10:36:44 +02:00
Laurențiu Nicola
959c215001 ⬆️ rust-analyzer 2022-07-19 10:16:45 +03:00
Laurențiu Nicola
697dfb56c6 ⬆️ rust-analyzer 2022-07-12 14:18:31 +03:00
Laurențiu Nicola
170b173a3b ⬆️ rust-analyzer 2022-07-05 09:29:11 +03:00
Laurențiu Nicola
396342a1fb ⬆️ rust-analyzer 2022-06-28 09:54:21 +03:00
Laurențiu Nicola
db542e46c2 ⬆️ rust-analyzer 2022-06-21 08:12:17 +03:00
Laurențiu Nicola
15f63553d0 ⬆️ rust-analyzer 2022-06-14 07:43:32 +03:00
Laurențiu Nicola
2e8508fdd5 ⬆️ rust-analyzer 2022-06-07 08:52:15 +03:00
Laurențiu Nicola
145a558785 ⬆️ rust-analyzer 2022-05-31 21:32:15 +03:00
Laurențiu Nicola
145bb1f64b ⬆️ rust-analyzer 2022-05-11 12:26:06 +03:00
Laurențiu Nicola
2535893594 ⬆️ rust-analyzer 2022-05-03 12:13:22 +03:00
Laurențiu Nicola
1e78a47fae ⬆️ rust-analyzer 2022-04-14 15:42:13 +03:00
Laurențiu Nicola
505573e38e ⬆️ rust-analyzer 2022-04-05 14:18:10 +03:00
Laurențiu Nicola
acb9b7e842 ⬆️ rust-analyzer 2022-03-29 08:31:05 +03:00
Laurențiu Nicola
29ebe5c38c ⬆️ rust-analyzer 2022-03-23 08:24:14 +02:00
Laurențiu Nicola
ce4eeaf9ea ⬆️ rust-analyzer 2022-03-14 19:04:16 +02:00
Laurențiu Nicola
a3158c7cef ⬆️ rust-analyzer 2022-03-08 08:44:23 +02:00
Laurențiu Nicola
276d5fef3f ⬆️ rust-analyzer 2022-03-01 07:20:26 +02:00
Laurențiu Nicola
dbe0007a49 ⬆️ rust-analyzer 2022-02-23 17:11:18 +02:00
Laurențiu Nicola
ef88c3f406 ⬆️ rust-analyzer 2022-02-16 17:23:51 +02:00
Laurențiu Nicola
4eb5fe1f9c ⬆️ rust-analyzer 2022-02-08 11:10:44 +02:00
Laurențiu Nicola
3b100458c1 ⬆️ rust-analyzer 2022-01-20 12:14:08 +02:00