Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 2 | -4/+2 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -2/+5 |
| | | | | This allows us to get rid of trait item index | ||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -3/+3 |
| | |||||
* | Allow non-path default type parameters | Aleksey Kladov | 2019-11-20 | 2 | -3/+25 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -3/+5 |
| | |||||
* | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -4/+39 |
| | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints. | ||||
* | Upgrade Chalk again | Florian Diebold | 2019-11-16 | 2 | -19/+22 |
| | |||||
* | Fix handling of the binders in dyn/impl Trait | Florian Diebold | 2019-11-16 | 3 | -13/+59 |
| | | | | | | | | | We need to be more careful now when substituting bound variables (previously, we didn't have anything that used bound variables except Chalk, so it was not a problem). This is obviously quite ad-hoc; Chalk has more infrastructure for handling this in a principled way, which we maybe should adopt. | ||||
* | Use Chalk's dyn/impl trait support | Florian Diebold | 2019-11-16 | 3 | -13/+16 |
| | |||||
* | Upgrade Chalk | Florian Diebold | 2019-11-16 | 2 | -108/+191 |
| | | | | | Associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them. | ||||
* | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 1 | -8/+9 |
| | |||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 2 | -61/+25 |
| | |||||
* | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 1 | -49/+5 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 2 | -4/+5 |
| | |||||
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 5 | -64/+51 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -2/+1 |
| | |||||
* | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 2 | -10/+9 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 3 | -33/+35 |
| | |||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 1 | -3/+3 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 3 | -4/+5 |
| | |||||
* | Merge #2205 | bors[bot] | 2019-11-11 | 1 | -0/+19 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add line macro and tests | Edwin Cheng | 2019-11-11 | 1 | -0/+19 |
| | | |||||
* | | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -2/+2 |
|/ | |||||
* | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 4 | -9/+23 |
| | |||||
* | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 1 | -16/+16 |
| | | | | Actually working rename is sooo useful! | ||||
* | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 1 | -59/+25 |
| | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 2 | -5/+3 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -1/+1 |
| | |||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -8/+4 |
| | |||||
* | Various review fixes | Florian Diebold | 2019-11-01 | 2 | -17/+12 |
| | |||||
* | Add some doc comments | Florian Diebold | 2019-11-01 | 1 | -0/+6 |
| | |||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 1 | -1/+1 |
| | |||||
* | Refactor a bit | Florian Diebold | 2019-11-01 | 1 | -36/+25 |
| | |||||
* | Don't do autoderef for path resolution | Florian Diebold | 2019-11-01 | 1 | -18/+39 |
| | |||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 3 | -133/+96 |
| | |||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -1/+3 |
| | |||||
* | Insert type vars before doing assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -12/+15 |
| | |||||
* | Add another unrelated, currently not working test | Florian Diebold | 2019-11-01 | 1 | -0/+16 |
| | |||||
* | Get trait assoc item resolution mostly working | Florian Diebold | 2019-11-01 | 2 | -11/+248 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -4/+4 |
| | |||||
* | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -26/+12 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 4 | -7/+6 |
| | |||||
* | remove forward pointer for type_ref | Aleksey Kladov | 2019-10-30 | 4 | -8/+11 |
| | |||||
* | remove forward pointer to Path | Aleksey Kladov | 2019-10-30 | 4 | -7/+11 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 4 | -4/+7 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -29/+5 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 2 | -8/+8 |
| | |||||
* | Upgrade Chalk, make use of TypeName::Error variant | Florian Diebold | 2019-10-29 | 1 | -8/+7 |
| |