aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr
Commit message (Collapse)AuthorAgeFilesLines
* remove forward pointer for type_refAleksey Kladov2019-10-301-1/+1
|
* remove forward pointer to PathAleksey Kladov2019-10-302-3/+5
|
* remove forward pointer for nameAleksey Kladov2019-10-301-2/+2
|
* remove not that useful indirectionAleksey Kladov2019-10-291-1/+1
|
* start ra_hir_def crateAleksey Kladov2019-10-291-6/+5
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-303-0/+6
| | | | #1856
* Support `$crate` in item and expr place.uHOOCCOOHu2019-09-261-7/+14
|
* Define known paths and group namesuHOOCCOOHu2019-09-151-6/+2
|
* Support path starting with a typeuHOOCCOOHu2019-09-151-9/+5
|
* Add `DotDotPat` to ASTDylan MacKenzie2019-09-151-0/+1
| | | | This is modeled on `PlaceholderPat`.
* rename AdtDef -> AdtAleksey Kladov2019-09-121-3/+3
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-121-2/+1
|
* start cleaning up the resolutionAleksey Kladov2019-09-121-6/+5
| | | | | | | Nameres related types, like `PerNs<Resolution>`, can represent unreasonable situations, like a local in a type namespace. We should clean this up, by requiring that call-site specifies the kind of resolution it expects.
* Infer box expressionuHOOCCOOHu2019-09-111-0/+4
|
* cleanup hir db importsAleksey Kladov2019-09-083-4/+7
|
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-032-32/+31
|
* slightly simplify expr lowering flowAleksey Kladov2019-09-031-126/+102
|
* use recrod terminology for hir::PatAleksey Kladov2019-09-031-4/+3
|
* move expr lowering to lowerAleksey Kladov2019-09-031-0/+653
|
* fix hir for new block syntaxAleksey Kladov2019-09-022-8/+10
|
* Small fixesKirill Bulatov2019-08-261-1/+6
|
* Fix 'missing Ok in tail expr' validationFlorian Diebold2019-08-261-3/+4
| | | | | Because of the coercion change, the type mismatch now only happens on the block expression.
* Simplify checking return type, add new testPhil Ellison2019-08-251-21/+4
|
* Cast SyntaxNodePtr to AstPtr directlyPhil Ellison2019-08-251-14/+3
|
* Remove reliance on expr orderingPhil Ellison2019-08-251-10/+4
|
* cargo formatPhil Ellison2019-08-251-13/+12
|
* Check type rather than just name in ok-wrapping diagnostic. Add test for ↵Phil Ellison2019-08-251-8/+38
| | | | handling generic functions (which currently fails)
* Mock std String and Result types in tests for ok-wrapping diagnosticPhil Ellison2019-08-251-2/+0
|
* Add type_mismatches to InferenceResult and use this in ok-wrapping code fixPhil Ellison2019-08-251-6/+8
|
* Initial implementation of Ok-wrappingPhil Ellison2019-08-251-2/+54
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-8/+8
|
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|
* migrate ra_hir to the new rowanAleksey Kladov2019-07-192-4/+4
|
* make Parse fields privateAleksey Kladov2019-07-121-1/+2
| | | | this is in preparation for the new rowan API
* Clippy trivially_copy_pass_by_refJeremy Kolb2019-07-051-2/+2
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-042-13/+11
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* remove inherent source implsAleksey Kladov2019-06-111-1/+1
|
* use Source for FunctionAleksey Kladov2019-06-111-1/+1
|
* Fix clippy::single_char_patternAlan Du2019-06-041-5/+2
|
* Fix clippy::into_iter_on_refAlan Du2019-06-041-1/+1
|
* Fix clippy::ptr_argAlan Du2019-06-041-1/+1
|
* fix syntax errors in testsAleksey Kladov2019-05-282-3/+3
|
* simplifyAleksey Kladov2019-05-201-38/+39
|
* make AstId untypedAleksey Kladov2019-05-131-1/+1
|
* fill struct fields diagnosticSergey Parilin2019-05-061-0/+92
|
* cleanupsAleksey Kladov2019-04-131-10/+1
|
* slight encapsulationAleksey Kladov2019-04-131-7/+11
|
* move ScopeEntryWithSyntaxAleksey Kladov2019-04-131-32/+13
|
* drop obsolete fixmeAleksey Kladov2019-04-131-1/+0
|