aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use a simple progress bar instead of indicatifEdwin Cheng2019-11-264-11/+138
| |
* | CleanupAleksey Kladov2019-11-266-77/+85
| |
* | DecoupleAleksey Kladov2019-11-265-45/+42
| |
* | Merge #2420bors[bot]2019-11-268-77/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | 2420: Remove last traces of adt from Ty r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove last traces of adt from TyAleksey Kladov2019-11-263-6/+7
| | |
| * | More precise NameKind::SelfAleksey Kladov2019-11-266-71/+63
| | |
* | | Merge #2418bors[bot]2019-11-264-13/+19
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2418: Hide MacroCallLoc outside hir_expand r=matklad a=edwin0cheng This PR refactor `MacroCallLoc` such that it be hided to become implementation details of hir_expand. Co-authored-by: Edwin Cheng <[email protected]>
| * | Hide MacroCallLocEdwin Cheng2019-11-264-13/+19
| |/
* | Merge #2419bors[bot]2019-11-2612-241/+207
|\ \ | | | | | | | | | | | | | | | | | | | | | 2419: Remove ns-polymorphic type_for_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove ns-polymorphic type_for_defAleksey Kladov2019-11-269-165/+129
| | |
| * | Cleanup importsAleksey Kladov2019-11-262-6/+7
| | |
| * | Reduce visibilityAleksey Kladov2019-11-262-4/+5
| | |
| * | Use TraitId in TraitRefAleksey Kladov2019-11-266-68/+68
| | |
* | | Add noteAleksey Kladov2019-11-261-0/+2
|/ /
* | Remove another helperAleksey Kladov2019-11-263-25/+27
| |
* | DocAleksey Kladov2019-11-261-0/+3
| |
* | Remove assoc_type_by_name helperAleksey Kladov2019-11-265-39/+34
| |
* | Store names in TraitDataAleksey Kladov2019-11-263-25/+43
| |
* | Detangle ty from traits a bitAleksey Kladov2019-11-265-49/+63
|/
* Merge #2412bors[bot]2019-11-261-1/+1
|\ | | | | | | | | | | | | | | 2412: Fix stale crates that snuck in r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * Fix stale crates that snuck inJeremy Kolb2019-11-261-1/+1
| |
* | Merge #2406bors[bot]2019-11-265-13/+34
|\ \ | |/ |/| | | | | | | | | | | 2406: Add hygiene information to SourceAnalyzer r=matklad a=edwin0cheng This should fix https://github.com/rust-analyzer/rust-analyzer/pull/2392#issuecomment-557964686 Co-authored-by: Edwin Cheng <[email protected]>
| * Remove dbg!Edwin Cheng2019-11-261-2/+0
| |
| * Add hygiene information to SourceAnalyzerEdwin Cheng2019-11-265-13/+36
| |
* | Merge #2410bors[bot]2019-11-2611-245/+306
|\ \ | | | | | | | | | | | | | | | | | | | | | 2410: Introduce hir_ty r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Doc primitivesAleksey Kladov2019-11-262-2/+6
| | |
| * | id-ify impls_in_crate_queryAleksey Kladov2019-11-266-56/+74
| | |
| * | Introduce hir_tyAleksey Kladov2019-11-266-190/+229
| | |
* | | Update parking_lot and smallvec to drop some dependenciesJeremy Kolb2019-11-262-2/+2
|/ /
* | Id-ify Ty::AdtAleksey Kladov2019-11-2611-39/+98
| |
* | Introduce hir::TypeAleksey Kladov2019-11-2615-136/+253
| | | | | | | | It should provide a convenient API over more low-level Ty
* | Use chalk fork to paper over #2052Aleksey Kladov2019-11-261-3/+5
| |
* | :arrow_up: salsaAleksey Kladov2019-11-268-5/+21
|/
* Use TypeAliasId in Ty, pt 2Aleksey Kladov2019-11-255-46/+40
|
* Use TypeAliasId in Ty, pt 1Aleksey Kladov2019-11-252-11/+29
|
* More ids in TyAleksey Kladov2019-11-254-17/+13
|
* Fixme for union fieldsAleksey Kladov2019-11-254-0/+9
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-2522-86/+121
|
* Introduce dedicated AST node for unionAleksey Kladov2019-11-257-15/+63
| | | | | | | | | | Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them.
* Merge #2388bors[bot]2019-11-252-2/+8
|\ | | | | | | | | | | | | | | 2388: Show missing struct fields in the error message r=matklad a=Frizi This provides the most interesting information about the "missing structure fields" error directly to the user. Co-authored-by: Frizi <[email protected]>
| * Show missing struct fields in the error messageFrizi2019-11-242-2/+8
| |
* | Use ids for CallableAleksey Kladov2019-11-254-34/+50
| |
* | Use more IDsAleksey Kladov2019-11-251-17/+18
| |
* | Use GenericDefIdMoreAleksey Kladov2019-11-2510-56/+44
| |
* | Use GenericDefId moreAleksey Kladov2019-11-255-33/+20
| |
* | Remove Resolver from autoderefAleksey Kladov2019-11-257-49/+73
| | | | | | | | | | Resolver holds onto too much context, including local scopes. Let's try to pass in only what is necessary -- the trait environment.
* | Push resolver upAleksey Kladov2019-11-251-12/+15
| |
* | Merge #2362bors[bot]2019-11-252-0/+39
|\ \ | | | | | | | | | | | | | | | | | | | | | 2362: Expand compile_error! r=edwin0cheng a=kjeremy Does not validate that the input is a string literal. I thought that I could `match_ast!` against the `macro_args` but that did not work. Even if it had I am not sure which error would be appropriate. Co-authored-by: Jeremy Kolb <[email protected]>
| * | Expand compile_error!Jeremy Kolb2019-11-252-0/+39
| | |
* | | Merge #2392bors[bot]2019-11-251-5/+16
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2392: Fix panic during the expansion of `column!` r=edwin0cheng a=marcogroppo Fixes #2379. Well, this isn't the "proper" fix but it doesn't hurt, IMHO. The problem is that `to_col_number`, called by `column_expand`, receives a position number that isn't included in the text range of the file. My (very limited) understanding is that the text is the one of the original file, while `pos` is relative to something else, probably the text of the macro. Notice that in this case the `column!` expansion seems to be triggered by `assert_eq!`, so we're in the middle of another expansion. This PR simply avoids the panic by checking the length of the text. r? @edwin0cheng Co-authored-by: Marco Groppo <[email protected]>