Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -6/+6 |
| | | | | | | 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 | ||||
* | Add comment | Shotaro Yamada | 2019-06-25 | 1 | -6/+8 |
| | |||||
* | Method resolution for slices | Shotaro Yamada | 2019-06-24 | 1 | -25/+36 |
| | |||||
* | rename XSignature -> XData | Aleksey Kladov | 2019-06-18 | 1 | -4/+4 |
| | |||||
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 1 | -3/+2 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | Fix clippy::single_match | Alan Du | 2019-06-04 | 1 | -22/+16 |
| | |||||
* | Use traits from prelude for method resolution | Florian Diebold | 2019-05-12 | 1 | -1/+1 |
| | |||||
* | Fix impl blocks with unresolved target trait being treated as inherent impls | Florian Diebold | 2019-05-12 | 1 | -5/+7 |
| | |||||
* | Turn `implements` into a query again | Florian Diebold | 2019-05-07 | 1 | -2/+1 |
| | |||||
* | Update Chalk | Florian Diebold | 2019-05-04 | 1 | -1/+0 |
| | |||||
* | Canonicalize before doing method resolution | Florian Diebold | 2019-05-04 | 1 | -110/+109 |
| | |||||
* | Chalk integration | Florian Diebold | 2019-05-04 | 1 | -9/+20 |
| | | | | | - add proper canonicalization logic - add conversions from/to Chalk IR | ||||
* | lang_item_lookup is now a salsa query. | Marco Groppo | 2019-04-19 | 1 | -6/+5 |
| | |||||
* | New krate() method in Resolver. | Marco Groppo | 2019-04-19 | 1 | -21/+7 |
| | | | | Renamed Impl to ImplBlock. | ||||
* | Initial support for lang items. | Marco Groppo | 2019-04-19 | 1 | -4/+34 |
| | |||||
* | Refactor method candidate generation a bit | Florian Diebold | 2019-04-14 | 1 | -53/+73 |
| | | | | | | This fixes the order in which candidates are chosen a bit (not completely though, as the ignored test demonstrates), and makes autoderef work with trait methods. As a side effect, this also makes completion of trait methods work :) | ||||
* | Extract generic_params method to a HasGenericParams trait | Florian Diebold | 2019-04-14 | 1 | -3/+5 |
| | |||||
* | Some cleanup | Florian Diebold | 2019-04-14 | 1 | -6/+7 |
| | |||||
* | More trait infrastructure | Florian Diebold | 2019-04-14 | 1 | -28/+19 |
| | | | | | | | | | | - make it possible to get parent trait from method - add 'obligation' machinery for checking that a type implements a trait (and inferring facts about type variables from that) - handle type parameters of traits (to a certain degree) - improve the hacky implements check to cover enough cases to exercise the handling of traits with type parameters - basic canonicalization (will probably also be done by Chalk) | ||||
* | Get substs for trait refs in impl blocks | Florian Diebold | 2019-04-14 | 1 | -2/+4 |
| | |||||
* | make resolver private | Aleksey Kladov | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | Clean up comments / use nicer Iterator methods | Florian Diebold | 2019-03-25 | 1 | -9/+14 |
| | |||||
* | Implement a very naive implements check | Florian Diebold | 2019-03-25 | 1 | -6/+26 |
| | | | | ... to make the infer_trait_method_simple test have the correct result. | ||||
* | Basics for trait method resolution | Florian Diebold | 2019-03-25 | 1 | -14/+46 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | Rename name field to ctor as well | Florian Diebold | 2019-03-21 | 1 | -2/+2 |
| | |||||
* | TypeName => TypeCtor | Florian Diebold | 2019-03-21 | 1 | -3/+3 |
| | |||||
* | Remove the old variants replaced by Ty::Apply | Florian Diebold | 2019-03-21 | 1 | -4/+7 |
| | |||||
* | rename ModuleId -> CrateModuleId | Aleksey Kladov | 2019-03-17 | 1 | -4/+4 |
| | |||||
* | Reorganize name resolution | Aleksey Kladov | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 1 | -1/+3 |
| | |||||
* | Unify with the autorefed/autoderefed receiver type during method resolution | Florian Diebold | 2019-02-17 | 1 | -5/+7 |
| | |||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 1 | -18/+11 |
| | | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions. | ||||
* | Implement completion for associated items | Laurențiu Nicola | 2019-02-12 | 1 | -0/+20 |
| | |||||
* | replace clone with copy | Aleksey Kladov | 2019-02-12 | 1 | -1/+1 |
| | |||||
* | fix obsolete comment | Aleksey Kladov | 2019-02-12 | 1 | -2/+2 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -20/+10 |
| | |||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 1 | -21/+9 |
| | |||||
* | Go To Implementation for Trait | kjeremy | 2019-01-31 | 1 | -19/+48 |
| | |||||
* | Use Crate instead of CrateId | Aleksey Kladov | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Go to Implementation for structs and enums | Jeremy Kolb | 2019-01-30 | 1 | -3/+3 |
| | |||||
* | new struct id | Aleksey Kladov | 2019-01-24 | 1 | -4/+4 |
| | |||||
* | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 1 | -2/+2 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -14/+12 |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | ||||
* | Generics -> GenericParams | Florian Diebold | 2019-01-19 | 1 | -2/+2 |
| | |||||
* | Implement beginnings of generics | Florian Diebold | 2019-01-19 | 1 | -3/+14 |
| | | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions | ||||
* | remove Cancelable from type inference | Aleksey Kladov | 2019-01-15 | 1 | -20/+17 |
| | |||||
* | remove Cancelable from Ty | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from ids | Aleksey Kladov | 2019-01-15 | 1 | -5/+5 |
| |