Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Support for nested traits | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 | |
| | ||||||
* | Support for nested statics, consts and type aliases | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 | |
| | ||||||
* | Support for nested ADT | Aleksey Kladov | 2019-12-20 | 1 | -3/+3 | |
| | ||||||
* | Introduce `ContainerId` | Aleksey Kladov | 2019-12-20 | 1 | -4/+5 | |
| | ||||||
* | Rename ContainerId -> AssocContainerId | Aleksey Kladov | 2019-12-20 | 1 | -4/+4 | |
| | ||||||
* | Refactor PathKind | Aleksey Kladov | 2019-12-17 | 1 | -1/+1 | |
| | ||||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -7/+7 | |
| | ||||||
* | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -2/+2 | |
| | ||||||
* | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -2/+2 | |
| | ||||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 1 | -8/+11 | |
| | ||||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 1 | -3/+4 | |
| | ||||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 1 | -2/+7 | |
| | ||||||
* | Switch to the new location for impls | Aleksey Kladov | 2019-12-12 | 1 | -4/+6 | |
| | ||||||
* | Delay legacy macro expansion | Edwin Cheng | 2019-12-08 | 1 | -149/+57 | |
| | ||||||
* | Merge #2466 | bors[bot] | 2019-12-08 | 1 | -40/+124 | |
|\ | | | | | | | | | | | | | | | | | | | | | 2466: Handle partial resolve cases r=matklad a=edwin0cheng Another try to fix #2443 : We resolve all imports every time in `DefCollector::collect` loop even it is resolved previously. This is because other unresolved imports and macros will bring in another `PerNs`, so we can only assume that it has been partially resolved. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Refactor resolve_imports logic | Edwin Cheng | 2019-12-07 | 1 | -36/+120 | |
| | | ||||||
| * | Push glob_imports only if non-exists | Edwin Cheng | 2019-12-07 | 1 | -4/+4 | |
| | | ||||||
* | | Remove MacroFileKind | Edwin Cheng | 2019-12-08 | 1 | -2/+2 | |
|/ | ||||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 1 | -7/+66 | |
| | ||||||
* | Use placeholder instead of `Option` | ice1000 | 2019-12-05 | 1 | -1/+1 | |
| | ||||||
* | Three-state enum for module origin | ice1000 | 2019-12-04 | 1 | -4/+3 | |
| | ||||||
* | Add BuiltinShadowMode | Edwin Cheng | 2019-11-30 | 1 | -1/+3 | |
| | ||||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 | |
| | ||||||
* | Reformat | Aleksey Kladov | 2019-11-27 | 1 | -2/+1 | |
| | ||||||
* | Rename module_id -> local_id | Aleksey Kladov | 2019-11-27 | 1 | -7/+7 | |
| | ||||||
* | Hide MacroCallLoc | Edwin Cheng | 2019-11-26 | 1 | -4/+3 | |
| | ||||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -7/+5 | |
| | ||||||
* | Cleanup nameres | Aleksey Kladov | 2019-11-24 | 1 | -1/+4 | |
| | ||||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 | |
| | ||||||
* | Nicer API for attrs | Aleksey Kladov | 2019-11-24 | 1 | -5/+9 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -8/+4 | |
| | ||||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -2/+5 | |
| | ||||||
* | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 1 | -11/+27 | |
| | ||||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 1 | -1/+2 | |
| | ||||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 1 | -20/+20 | |
| | ||||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 1 | -7/+7 | |
| | ||||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -6/+6 | |
| | ||||||
* | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 1 | -12/+8 | |
| | ||||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -2/+10 | |
| | | | | This allows us to get rid of trait item index | |||||
* | Don't duplicate ContainerId type | Aleksey Kladov | 2019-11-20 | 1 | -4/+4 | |
| | ||||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 1 | -4/+10 | |
| | ||||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def | |||||
* | Disable doctests | Aleksey Kladov | 2019-11-17 | 1 | -1/+1 | |
| | ||||||
* | Store impls in CrateDefMap | Aleksey Kladov | 2019-11-15 | 1 | -1/+10 | |
| | ||||||
* | Move scope tests to hir_def | Aleksey Kladov | 2019-11-15 | 1 | -1/+2 | |
| | ||||||
* | Add convenience method for testing | Aleksey Kladov | 2019-11-15 | 1 | -1/+1 | |
| | ||||||
* | Merge #2205 | bors[bot] | 2019-11-11 | 1 | -2/+23 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 MacroDefKind | Edwin Cheng | 2019-11-11 | 1 | -8/+7 | |
| | | ||||||
| * | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 1 | -3/+25 | |
| | | ||||||
* | | Overwrite the prelude with one defined in a later dependency | Matthias Einwag | 2019-11-10 | 1 | -9/+6 | |
| | | | | | | | | | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order. |