rust-analyzer/crates
Aleksey Kladov defe805fb7 internal: fix and force-disable block validation ;-(
Originally we tried to maintain the invariant that `{}` always match.
That is, that in the parse tree the pair of corresponding `{}` is always
first and last tokens of some nodes.

We had the code to validate that, but apparently it's been broken for
**years** since we introduced tokens/nodes split. Fixing it now makes
some tests fail.

It's unclear if we want to keep this invariant: there's a strong
motivation for breaking it in the following case:

```
use std::{ // unclosed paren

fn main() {

}

} // don't actually want to pair up this with the one from `use`
```

So let's fix the code, but disable it for the time being
2021-09-26 15:49:23 +03:00
..
base_db Add a mirror function-like proc-macro expander for tests 2021-09-21 14:55:54 +02:00
cfg Simplify int_in_range 2021-08-31 13:11:17 +02:00
flycheck internal: remove dead code 2021-09-15 21:22:06 +03:00
hir Fix diagnostics in unnamed consts 2021-09-24 20:41:24 +02:00
hir_def feat: allow attributes on all expressions 2021-09-25 22:19:27 +03:00
hir_expand Avoid some Arc cloning 2021-09-24 18:57:08 +02:00
hir_ty Simplify 2021-09-19 23:34:07 +02:00
ide Split the hover module up 2021-09-23 20:36:15 +02:00
ide_assists Merge #10211 2021-09-25 15:32:00 +00:00
ide_completion Merge #10248 2021-09-15 18:23:46 +00:00
ide_db Cleanup 2021-09-23 16:28:03 +02:00
ide_diagnostics Fix item-level lazy macro errors 2021-09-24 21:17:25 +02:00
ide_ssr Simplify 2021-09-19 23:34:07 +02:00
limit internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
mbe Make hover work for intra doc links in macro invocations 2021-09-23 17:32:39 +02:00
parser feat: allow attributes on all expressions 2021-09-25 22:19:27 +03:00
paths internal: improve compilation critical path a bit 2021-08-28 22:43:37 +03:00
proc_macro_api Simplify 2021-09-19 23:34:07 +02:00
proc_macro_srv removing seemingly unused dev deps. 2021-09-11 16:26:36 +01:00
proc_macro_test cargo_metadata 0.14 2021-07-09 11:01:55 -04:00
profile Update dependency minor versions 2021-09-04 00:27:05 -07:00
project_model Simplify 2021-09-19 19:00:06 +02:00
rust-analyzer Give rustfmt spawn error context. 2021-09-24 17:51:47 +01:00
sourcegen internal: prevent possible bugs when adding magical comments 2021-09-13 13:43:13 +03:00
stdx minor: improve readability 2021-09-11 18:42:38 +03:00
syntax internal: fix and force-disable block validation ;-( 2021-09-26 15:49:23 +03:00
test_utils Simplify 2021-09-19 19:00:06 +02:00
text_edit Handle all rename special cases for all record pattern fields 2021-08-16 22:48:38 +02:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt internal: reduce coupling 2021-08-31 19:14:33 +03:00
vfs internal: document that ascription is preferred to a turbo fish 2021-08-11 14:16:15 +03:00
vfs-notify internal: remove dead code 2021-09-15 21:22:06 +03:00