Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add representations of associated types | Florian Diebold | 2019-08-12 | 1 | -0/+4 |
| | | | | | | | | | | | | This adds three different representations, copied from the Chalk model: - `Ty::Projection` is an associated type projection written somewhere in the code, like `<Foo as Trait>::Bar`. - `Ty::UnselectedProjection` is similar, but we don't know the trait yet (`Foo::Bar`). - The above representations are normalized to their actual types during type inference. When that isn't possible, for example for `T::Item` inside an `fn foo<T: Iterator>`, the type is normalized to an application type with `TypeCtor::AssociatedType`. | ||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -11/+8 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -1/+1 |
| | | | | this is in preparation for the new rowan API | ||||
* | cargo format | Muhammad Mominul Huque | 2019-07-07 | 1 | -1/+4 |
| | |||||
* | Constify KnownName's | Muhammad Mominul Huque | 2019-07-07 | 1 | -23/+24 |
| | |||||
* | properly restrict diagnostics to a single file | Aleksey Kladov | 2019-07-05 | 1 | -1/+6 |
| | |||||
* | Merge #1491 | bors[bot] | 2019-07-05 | 1 | -16/+16 |
|\ | | | | | | | | | | | | | | | | | | | 1491: More clippy r=matklad a=kjeremy A few more clippy changes. I'm a little unsure of the second commit. It's the trivially_copy_pass_by_ref lint and there are a number of places in the code we could use it if it makes sense. Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | &self -> self | Jeremy Kolb | 2019-07-05 | 1 | -13/+13 |
| | | | | | | | | https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref | ||||
| * | Clippy changes | Jeremy Kolb | 2019-07-05 | 1 | -3/+3 |
| | | |||||
* | | Fix clippy::redundant_clone | Shotaro Yamada | 2019-07-05 | 1 | -1/+1 |
|/ | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -11/+19 |
| | | | | | | 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 completion for type aliases | Shotaro Yamada | 2019-07-02 | 1 | -0/+4 |
| | |||||
* | Complete associated methods on enums (and unions) as well | Florian Diebold | 2019-06-29 | 1 | -0/+4 |
| | |||||
* | Add firewall query to lang items | Aleksey Kladov | 2019-06-19 | 1 | -1/+1 |
| | | | | | With an intermediate query, changing one module won't cause reparsing of all modules | ||||
* | rename XSignature -> XData | Aleksey Kladov | 2019-06-18 | 1 | -24/+22 |
| | |||||
* | Simplifications / cleanup from review | Florian Diebold | 2019-06-16 | 1 | -2/+1 |
| | |||||
* | Add basic infrastructure for assoc type projection | Florian Diebold | 2019-06-15 | 1 | -2/+19 |
| | |||||
* | move docs under code model | Aleksey Kladov | 2019-06-11 | 1 | -0/+1 |
| | |||||
* | move source to a seaparate file | Aleksey Kladov | 2019-06-11 | 1 | -120/+3 |
| | |||||
* | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 1 | -50/+1 |
| | |||||
* | use Source for module, part 2 | Aleksey Kladov | 2019-06-11 | 1 | -2/+2 |
| | |||||
* | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 1 | -8/+5 |
| | |||||
* | use Source for StructField | Aleksey Kladov | 2019-06-11 | 1 | -2/+9 |
| | |||||
* | use Source for MacroDef | Aleksey Kladov | 2019-06-11 | 1 | -5/+10 |
| | |||||
* | use Source for impl block | Aleksey Kladov | 2019-06-11 | 1 | -5/+2 |
| | |||||
* | use Source for Trait | Aleksey Kladov | 2019-06-11 | 1 | -5/+16 |
| | |||||
* | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 1 | -2/+9 |
| | |||||
* | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 1 | -12/+22 |
| | |||||
* | use Source for Function | Aleksey Kladov | 2019-06-11 | 1 | -6/+14 |
| | |||||
* | Introduce HasSource trait | Aleksey Kladov | 2019-06-11 | 1 | -0/+26 |
| | |||||
* | use Source more | Aleksey Kladov | 2019-06-11 | 1 | -6/+3 |
| | |||||
* | introduce Source struct | Aleksey Kladov | 2019-06-11 | 1 | -5/+13 |
| | |||||
* | one macro def should be enough | Aleksey Kladov | 2019-06-08 | 1 | -0/+9 |
| | |||||
* | make documenation a query | Aleksey Kladov | 2019-06-08 | 1 | -1/+1 |
| | |||||
* | make Docs handing more ideomatic | Aleksey Kladov | 2019-06-08 | 1 | -1/+0 |
| | |||||
* | Move docs to dedicated module | Aleksey Kladov | 2019-06-08 | 1 | -68/+0 |
| | |||||
* | Fix clippy::single_match | Alan Du | 2019-06-04 | 1 | -3/+2 |
| | |||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -20/+50 |
| | |||||
* | add built-in types to scopes | Aleksey Kladov | 2019-05-30 | 1 | -1/+1 |
| | |||||
* | add list of builtin types | Aleksey Kladov | 2019-05-30 | 1 | -2/+28 |
| | |||||
* | add ModuleDef::BuiltInType | Aleksey Kladov | 2019-05-30 | 1 | -2/+13 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | Formatting | Edwin Cheng | 2019-05-27 | 1 | -1/+0 |
| | |||||
* | Use ItemOrMacro in item resolution | Edwin Cheng | 2019-05-26 | 1 | -1/+6 |
| | |||||
* | rename code_model_api -> code_model | Aleksey Kladov | 2019-05-23 | 1 | -0/+954 |