Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework find_super_trait_path to protect against cycles | Florian Diebold | 2020-02-22 | 1 | -7/+10 |
| | |||||
* | Fix shift_bound_vars | Florian Diebold | 2020-02-22 | 1 | -3/+3 |
| | | | | It should only shift free vars (maybe the name isn't the best...) | ||||
* | Add &dyn Trait -> &dyn SuperTrait coercion, and fix &T -> &dyn Trait | Florian Diebold | 2020-02-22 | 1 | -0/+20 |
| | |||||
* | Implement dyn Trait unsizing as well | Florian Diebold | 2020-02-22 | 1 | -0/+11 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 1 | -3/+2 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -2/+2 |
| | |||||
* | Move hir_fmt code to display module | Florian Diebold | 2020-02-14 | 1 | -371/+4 |
| | |||||
* | Rename Ty::Param => Ty::Placeholder | Florian Diebold | 2020-02-14 | 1 | -5/+5 |
| | | | | This aligns more with Chalk. | ||||
* | Fix some TODOs | Florian Diebold | 2020-02-07 | 1 | -7/+10 |
| | |||||
* | Don't print implicit type args from impl Trait | Florian Diebold | 2020-02-07 | 1 | -3/+10 |
| | |||||
* | Formatting | Florian Diebold | 2020-02-07 | 1 | -1/+4 |
| | |||||
* | Fix compilation of other crates | Florian Diebold | 2020-02-07 | 1 | -2/+8 |
| | |||||
* | Use variables in predicates as well | Florian Diebold | 2020-02-07 | 1 | -24/+4 |
| | |||||
* | Comment fixes / todos | Florian Diebold | 2020-02-07 | 1 | -0/+2 |
| | |||||
* | Fix APIT some more | Florian Diebold | 2020-02-07 | 1 | -73/+80 |
| | |||||
* | Change Ty::Param to contain param ID | Florian Diebold | 2020-02-07 | 1 | -22/+27 |
| | |||||
* | Fix printing of function types | Florian Diebold | 2020-02-07 | 1 | -3/+4 |
| | |||||
* | Lower impl trait to variables, move away from using placeholders where they ↵ | Florian Diebold | 2020-02-07 | 1 | -2/+32 |
| | | | | don't belong | ||||
* | wip lower impl trait to type args | Florian Diebold | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Add impl trait lowering mode | Florian Diebold | 2020-02-07 | 1 | -1/+3 |
| | |||||
* | Introduce TyLoweringContext | Florian Diebold | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Standard formatting for array types | Aleksey Kladov | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Omit default parameters for reference types | Kirill Bulatov | 2020-01-22 | 1 | -1/+6 |
| | |||||
* | Split `infer` query into two for better profiling | Michal Terepeta | 2020-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the same change as we did with `crate_def_map` and it does seem that we mostly spend time in salsa, without recomputing much on rust-analyzer side. Example output: ``` 233ms - handle_inlay_hints 163ms - get_inlay_hints 163ms - SourceAnalyzer::new 67ms - def_with_body_from_child_node 67ms - analyze_container 67ms - analyze_container 67ms - Module::from_definition 67ms - Module::from_file 67ms - crate_def_map 0ms - parse_macro_query (6 calls) 0ms - raw_items_query (1 calls) 66ms - ??? 0ms - crate_def_map (1 calls) 0ms - crate_def_map (1 calls) 96ms - infer 2ms - trait_solve_query (2 calls) 94ms - ??? 0ms - body_with_source_map_query (1 calls) 0ms - crate_def_map (1 calls) [...] ``` Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Omit closure parameters | Kirill Bulatov | 2019-12-23 | 1 | -11/+20 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Rename ContainerId -> AssocContainerId | Aleksey Kladov | 2019-12-20 | 1 | -4/+4 |
| | |||||
* | Omit default parameter types | Kirill Bulatov | 2019-12-19 | 1 | -1/+32 |
| | |||||
* | Reformat | Aleksey Kladov | 2019-12-07 | 1 | -2/+2 |
| | |||||
* | Refactor parameter count tracking | Aleksey Kladov | 2019-12-07 | 1 | -5/+5 |
| | |||||
* | Remove idx and parent generics from generics | Aleksey Kladov | 2019-12-07 | 1 | -21/+11 |
| | | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead. | ||||
* | Handle cycles in impl types better | Florian Diebold | 2019-11-30 | 1 | -15/+0 |
| | | | | | | - impl Trait<Self> for S is allowed - impl Trait for S<Self> is an invalid cycle, but we can add cycle recovery for it in Salsa now | ||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 1 | -18/+7 |
| | |||||
* | Memoize impl resolutions | Aleksey Kladov | 2019-11-27 | 1 | -0/+15 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -2/+1132 |
| | |||||
* | Doc primitives | Aleksey Kladov | 2019-11-26 | 1 | -1/+2 |
| | |||||
* | Introduce hir_ty | Aleksey Kladov | 2019-11-26 | 1 | -0/+3 |