Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make nameres::ResolvePathResult private and refactor | Ville Penttinen | 2019-02-21 | 1 | -7/+7 |
| | |||||
* | Remove Const inference for now, refactor PathResult | Ville Penttinen | 2019-02-21 | 4 | -77/+93 |
| | |||||
* | Implement basic support for Associated Methods and Constants | Ville Penttinen | 2019-02-21 | 10 | -48/+408 |
| | | | | | | | This is done in `infer_path_expr`. When `Resolver::resolve_path` returns `PartiallyResolved`, we use the returned `Resolution` together with the given `segment_index` to check if we can find something matching the segment at segment_index in the impls for that particular type. | ||||
* | remove ignored macro tests | Aleksey Kladov | 2019-02-19 | 1 | -30/+0 |
| | | | | | we need to significantly reengineer macros, so the tests as they exist are useless | ||||
* | Merge #852 | bors[bot] | 2019-02-18 | 3 | -34/+40 |
|\ | | | | | | | | | | | | | | | 852: Handle != r=flodiebold a=matklad r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | handle != operator | Aleksey Kladov | 2019-02-18 | 3 | -34/+40 |
| | | |||||
* | | Handle tuple structs / enum variants properly in type inference | Florian Diebold | 2019-02-17 | 5 | -37/+95 |
|/ | |||||
* | Make GenericArgs::from_ast pub(crate) | Florian Diebold | 2019-02-17 | 1 | -1/+1 |
| | |||||
* | Unify with the autorefed/autoderefed receiver type during method resolution | Florian Diebold | 2019-02-17 | 4 | -12/+54 |
| | |||||
* | Handle generic args for method calls | Florian Diebold | 2019-02-16 | 4 | -10/+45 |
| | |||||
* | Handle impl generics in method calls | Florian Diebold | 2019-02-16 | 7 | -77/+122 |
| | |||||
* | Resolve impl generic params | Florian Diebold | 2019-02-16 | 1 | -1/+3 |
| | |||||
* | Add generic params to impl blocks | Florian Diebold | 2019-02-16 | 2 | -8/+14 |
| | |||||
* | Add a test for impl generics | Florian Diebold | 2019-02-16 | 2 | -0/+71 |
| | |||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 5 | -66/+48 |
| | | | | | | | 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. | ||||
* | Complete names from prelude | Florian Diebold | 2019-02-13 | 2 | -4/+10 |
| | |||||
* | Handle extern crates better, so they work correctly in 2015 edition | Florian Diebold | 2019-02-13 | 3 | -15/+55 |
| | | | | (see the removed comment.) | ||||
* | Make edition handling a bit nicer and allow specifying edition in ↵ | Florian Diebold | 2019-02-13 | 2 | -16/+13 |
| | | | | crate_graph macro | ||||
* | Resolve 2015 style imports | Florian Diebold | 2019-02-13 | 3 | -8/+114 |
| | |||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 1 | -2/+3 |
| | |||||
* | Import the prelude | Florian Diebold | 2019-02-13 | 5 | -11/+96 |
| | |||||
* | Fix another crash | Florian Diebold | 2019-02-12 | 3 | -2/+33 |
| | |||||
* | make token trees eq | Aleksey Kladov | 2019-02-12 | 1 | -1/+1 |
| | |||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 6 | -15/+15 |
| | |||||
* | 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 |
| | |||||
* | remove hard-coded query-group macro | Aleksey Kladov | 2019-02-11 | 2 | -24/+3 |
| | |||||
* | remove useless hash | Aleksey Kladov | 2019-02-11 | 2 | -2/+2 |
| | |||||
* | remove query_definitions | Aleksey Kladov | 2019-02-11 | 4 | -34/+20 |
| | |||||
* | rename combine -> or | Aleksey Kladov | 2019-02-11 | 2 | -3/+3 |
| | | | | | | This way we match API of Option https://doc.rust-lang.org/std/option/enum.Option.html#method.or | ||||
* | use extern prelude in Resolver | Aleksey Kladov | 2019-02-11 | 3 | -18/+43 |
| | | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly | ||||
* | add graph fixture | Aleksey Kladov | 2019-02-11 | 3 | -71/+81 |
| | |||||
* | Handle SourceRoots automatically in fixtures | Aleksey Kladov | 2019-02-11 | 2 | -55/+75 |
| | |||||
* | Implement glob imports within the same crate | Florian Diebold | 2019-02-10 | 1 | -16/+77 |
| | | | | Fixes #231. | ||||
* | Import glob imports from other crates | Florian Diebold | 2019-02-10 | 3 | -2/+17 |
| | | | | This is the easy part since we don't have to consider the fixpoint algorithm. | ||||
* | Implement glob imports from enums | Florian Diebold | 2019-02-10 | 2 | -6/+37 |
| | |||||
* | Add some tests | Florian Diebold | 2019-02-10 | 2 | -0/+120 |
| | |||||
* | Spell cases explicitly in Ty::walk{_mut} | Florian Diebold | 2019-02-10 | 1 | -2/+18 |
| | |||||
* | Add an ra_cli command that analyses all crates in the current workspace | Florian Diebold | 2019-02-10 | 3 | -2/+75 |
| | | | | ... and prints various stats about how many expressions have a type etc. | ||||
* | Add comment and mark | Florian Diebold | 2019-02-09 | 3 | -2/+10 |
| | |||||
* | Fix another crash, and try harder to prevent stack overflows | Florian Diebold | 2019-02-09 | 3 | -7/+75 |
| | |||||
* | Fix another crash found when analyzing rustc | Florian Diebold | 2019-02-09 | 3 | -7/+38 |
| | |||||
* | Fix handling of literal patterns | Florian Diebold | 2019-02-09 | 3 | -0/+29 |
| | | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions. | ||||
* | Fix two crashes found by running inference on all of rustc | Florian Diebold | 2019-02-09 | 4 | -15/+84 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 24 | -780/+238 |
| | |||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 6 | -12/+12 |
| | |||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 2 | -8/+7 |
| | |||||
* | Fix ReachedFixedPoint value for unresolved external prelude items | Florian Diebold | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Complete extern prelude (again) | Florian Diebold | 2019-02-04 | 2 | -2/+5 |
| |