rust-analyzer/crates/hir_def/src
bors[bot] fd1fcf2c2e
Merge #7010
7010: Update ungrammar for const block patterns r=matklad a=Veykril

Fixes #6848

Adds const blocks and const block patterns to the AST and parses them.

Blocked on https://github.com/rust-analyzer/ungrammar/pull/17/, will merge that PR there once this one gets the OK so I can remove the local ungrammar dependency path and fix the Cargo.lock.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-12-23 10:37:30 +00:00
..
body Update ungrammar for const block patterns 2020-12-23 01:26:31 +01:00
item_tree Don't look at attributes when lowering to ItemTree 2020-12-18 20:37:26 +01:00
nameres Don't think that /submod.rs is /mod.rs 2020-12-23 11:02:42 +03:00
path Node-ify lifetimes 2020-12-16 14:16:09 +01:00
adt.rs Refactor attributes API to allow handling cfg_attr 2020-12-18 02:24:14 +01:00
attr.rs Add API for mapping Attr back to its syntax node 2020-12-19 15:15:02 +01:00
body.rs Refactor attributes API to allow handling cfg_attr 2020-12-18 02:24:14 +01:00
builtin_attr.rs Add upstream commit to builtin_attr.rs 2020-12-11 19:12:06 +01:00
builtin_type.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
child_by_source.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
data.rs Refactor attributes API to allow handling cfg_attr 2020-12-18 02:24:14 +01:00
db.rs Remove module_lang_items 2020-12-17 00:26:01 +01:00
diagnostics.rs More accurately place proc-macro diagnostic 2020-11-27 16:29:40 +01:00
dyn_map.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
expr.rs Merge #5971 2020-09-13 17:28:22 +00:00
find_path.rs Add test makr 2020-10-06 19:20:56 +02:00
generics.rs Higher-ranked trait bounds for where clauses 2020-12-17 22:01:42 +01:00
import_map.rs Improve autoimports on completion speed 2020-11-24 02:28:45 +02:00
item_scope.rs Make macro def krate mandatory 2020-12-15 20:33:05 +01:00
item_tree.rs Don't look at attributes when lowering to ItemTree 2020-12-18 20:37:26 +01:00
keys.rs Add LifetimeParam resolving to Semantics 2020-12-14 16:04:28 +01:00
lang_item.rs Remove module_lang_items 2020-12-17 00:26:01 +01:00
lib.rs Add AttrDefId::krate 2020-12-17 14:29:29 +01:00
nameres.rs More accurately place proc-macro diagnostic 2020-11-27 16:29:40 +01:00
path.rs More accurate #[derive] parsing 2020-12-19 01:10:56 +01:00
per_ns.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
resolver.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
src.rs Change HasChildSource::ChildId assoc item to generic param 2020-12-15 18:21:01 +01:00
test_db.rs Introduce anchored_path 2020-12-09 19:07:05 +03:00
trace.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
type_ref.rs Node-ify lifetimes 2020-12-16 14:16:09 +01:00
visibility.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00