aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr/validation.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move diagnostics to hir_expandAleksey Kladov2019-11-021-1/+2
|
* remove forward pointer to PathAleksey Kladov2019-10-301-1/+1
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Define known paths and group namesuHOOCCOOHu2019-09-151-6/+2
|
* Support path starting with a typeuHOOCCOOHu2019-09-151-9/+5
|
* 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.
* cleanup hir db importsAleksey Kladov2019-09-081-1/+2
|
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-031-25/+22
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-5/+8
|
* 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
|
* migrate ra_hir to the new rowanAleksey Kladov2019-07-191-1/+1
|
* 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
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-6/+5
| | | | | | 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-281-1/+1
|
* simplifyAleksey Kladov2019-05-201-38/+39
|
* make AstId untypedAleksey Kladov2019-05-131-1/+1
|
* fill struct fields diagnosticSergey Parilin2019-05-061-0/+92