rust-analyzer/crates/ra_hir_ty/src
Aleksey Kladov da8eb29a2f Macro patterns are not confused with expressions.
We treat macro calls as expressions (there's appropriate Into impl),
which causes problem if there's expresison and non-expression macro in
the same node (like in the match arm).

We fix this problem by nesting macor patterns into another node (the
same way we nest path into PathExpr or PathPat). Ideally, we probably
should add a similar nesting for macro expressions, but that needs
some careful thinking about macros in blocks: `{ am_i_expression!() }`.
2020-04-03 16:12:38 +02:00
..
infer Add inference for literal and range patterns 2020-04-01 20:27:47 +02:00
tests Macro patterns are not confused with expressions. 2020-04-03 16:12:38 +02:00
traits Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
autoderef.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
db.rs Cleanup memory usage stats 2020-03-25 19:35:46 +01:00
diagnostics.rs Remove some unwraps 2020-03-28 12:27:54 +01:00
display.rs Simplify 2020-03-31 19:00:23 +03:00
expr.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
infer.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
lib.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
lower.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
marks.rs Merge #3147 2020-02-14 20:32:55 +00:00
method_resolution.rs ra_hir_ty: fix formatting 2020-03-22 15:44:38 +02:00
op.rs More manual clippy fixes 2020-02-18 16:12:37 +02:00
primitive.rs Doc primitives 2019-11-26 15:41:48 +03:00
test_db.rs Nice string formatting 2020-03-28 12:27:54 +01:00
tests.rs Remove some unwraps 2020-03-28 12:27:54 +01:00
traits.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
utils.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00