aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/item_tree
Commit message (Collapse)AuthorAgeFilesLines
* Refactor is_intrinsic_fn_unsafe() and make it privateFrancesco Zardi2020-10-211-39/+42
|
* Move safe intrinsic testsFrancesco Zardi2020-10-211-20/+0
|
* Add whitelist of safe intrinsicsFrancesco Zardi2020-10-212-2/+62
|
* Update tests for new function fieldZac Pullar-Strecker2020-10-081-12/+12
|
* Differentiate method/tymethod by determining 'defaultness'Zac Pullar-Strecker2020-10-081-0/+3
| | | | | | | | | Currently a method only has defaultness if it is a provided trait method, but this will change when specialisation is available and may need to become a concept known to hir. I opted to go for a 'fewest changes' approach given specialisation is still under development.
* Give `ExternCrate` a `Name`, not a `ModPath`Jonas Schievink2020-09-172-3/+3
|
* Merge #6016bors[bot]2020-09-172-3/+4
|\ | | | | | | | | | | | | | | | | | | 6016: Emit diagnostics for unresolved imports and extern crates r=jonas-schievink a=jonas-schievink AFAIK, we don't have any major bugs in name resolution that would cause a lot of false positives here (except procedural attribute macro support and some rare issues around `#[path]` on module files), so these are *not* marked as experimental diagnostics right now. I noticed that diagnostics in a file sometimes don't get displayed after opening, but require some edit to be performed. This seems like a preexisting issue though. Co-authored-by: Jonas Schievink <[email protected]>
| * Store `Import` indices for later reconstructionJonas Schievink2020-09-162-3/+4
| |
* | Update chalk to 0.27 and adapt to chalk changes.Charles Lew2020-09-152-3/+5
|/
* Support extern typesJonas Schievink2020-08-241-0/+4
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-132-0/+1144