Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -5/+3 |
| | |||||
* | Intern `TypeRef`s in the containing `ItemTree` | Jonas Schievink | 2021-02-04 | 1 | -8/+46 |
| | |||||
* | Use block_def_map in body lowering | Jonas Schievink | 2021-02-03 | 1 | -1/+5 |
| | |||||
* | Revert "Use block_def_map in body lowering" | Jonas Schievink | 2021-02-02 | 1 | -5/+1 |
| | |||||
* | Use block_def_map in body lowering | Jonas Schievink | 2021-02-01 | 1 | -1/+5 |
| | |||||
* | ItemTree: Treat items in `MacroStmts` as top-level | Jonas Schievink | 2021-01-28 | 1 | -4/+6 |
| | |||||
* | Derive Default on ItemTree | Laurențiu Nicola | 2021-01-25 | 1 | -11/+2 |
| | |||||
* | Include `countme` crate to count important data structures. | Aleksey Kladov | 2021-01-21 | 1 | -1/+9 |
| | |||||
* | Add name resolution query for block expressions | Jonas Schievink | 2021-01-21 | 1 | -0/+7 |
| | |||||
* | Create a mapping from blocks to inner items | Jonas Schievink | 2021-01-20 | 1 | -17/+11 |
| | |||||
* | Remove `item_tree::Expr` | Jonas Schievink | 2021-01-18 | 1 | -9/+1 |
| | | | | It's empty and unused | ||||
* | Use ‘index’ terminology for arena consistently | Aramis Razzaghipour | 2021-01-17 | 1 | -1/+1 |
| | |||||
* | prepare to publish el libro de arena | Aleksey Kladov | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Add ConstParams to the HIR | Lukas Wirth | 2021-01-01 | 1 | -2/+7 |
| | |||||
* | Don't look at attributes when lowering to ItemTree | Jonas Schievink | 2020-12-18 | 1 | -4/+1 |
| | | | | Resolves 2 `cfg_attr` FIXMEs | ||||
* | Refactor attributes API to allow handling cfg_attr | Jonas Schievink | 2020-12-18 | 1 | -7/+12 |
| | |||||
* | Avoid querying attributes in item tree lowering | Jonas Schievink | 2020-12-16 | 1 | -8/+0 |
| | | | | | | | | ItemTree is per-file, so there is no unique crate associated with it. This means that it cannot know the active CfgOptions and thus couldn't handle `cfg_attr`. Prepare it for `cfg_attr`s by avoiding accessing attributes. | ||||
* | Basic support for decl macros 2.0 | Jonas Schievink | 2020-12-15 | 1 | -2/+18 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -4/+15 |
| | |||||
* | Expand statements for mbe in lowering | Edwin Cheng | 2020-12-15 | 1 | -0/+3 |
| | |||||
* | Ignore lifetime params in substitutions | Lukas Wirth | 2020-12-13 | 1 | -1/+4 |
| | |||||
* | Add Lifetimes to the HIR | Lukas Wirth | 2020-12-11 | 1 | -1/+1 |
| | |||||
* | Remove item tree tests | Jonas Schievink | 2020-12-10 | 1 | -2/+0 |
| | | | | | They were useful during initial development of the item tree, but now just cause churn | ||||
* | Ignore extern items in incorrect-case check | Jonas Schievink | 2020-12-10 | 1 | -0/+5 |
| | |||||
* | Add a (hint) diagnostic for unconfigured items | Jonas Schievink | 2020-10-20 | 1 | -0/+18 |
| | |||||
* | Differentiate method/tymethod by determining 'defaultness' | Zac Pullar-Strecker | 2020-10-08 | 1 | -0/+1 |
| | | | | | | | | | Currently a method only has defaultness if it is a provided trait method, but this will change when specialisation is available and may need to become a concept known to hir. I opted to go for a 'fewest changes' approach given specialisation is still under development. | ||||
* | Give `ExternCrate` a `Name`, not a `ModPath` | Jonas Schievink | 2020-09-17 | 1 | -1/+1 |
| | |||||
* | Merge #6016 | bors[bot] | 2020-09-17 | 1 | -1/+5 |
|\ | | | | | | | | | | | | | | | | | | | 6016: Emit diagnostics for unresolved imports and extern crates r=jonas-schievink a=jonas-schievink AFAIK, we don't have any major bugs in name resolution that would cause a lot of false positives here (except procedural attribute macro support and some rare issues around `#[path]` on module files), so these are *not* marked as experimental diagnostics right now. I noticed that diagnostics in a file sometimes don't get displayed after opening, but require some edit to be performed. This seems like a preexisting issue though. Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Store `Import` indices for later reconstruction | Jonas Schievink | 2020-09-16 | 1 | -1/+5 |
| | | |||||
* | | Update chalk to 0.27 and adapt to chalk changes. | Charles Lew | 2020-09-15 | 1 | -0/+1 |
|/ | |||||
* | Rename ra_hir_def -> hir_def | Aleksey Kladov | 2020-08-13 | 1 | -0/+754 |