Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use bitflags to compress function properties | Jonas Schievink | 2021-04-03 | 1 | -26/+40 |
| | | | | Very minor savings, only 1 MB or so | ||||
* | Intern `ModPath` in `Import` | Jonas Schievink | 2021-04-03 | 1 | -1/+1 |
| | | | | Minor savings only | ||||
* | Intern Attr, MacroCall and Path components | Jonas Schievink | 2021-04-01 | 1 | -1/+1 |
| | |||||
* | Global TypeRef/TraitRef interning | Jonas Schievink | 2021-04-01 | 1 | -13/+10 |
| | |||||
* | Fix block inner item defined in macro | Edwin Cheng | 2021-03-31 | 1 | -0/+6 |
| | |||||
* | Remove TraitRef::Error | Lukas Wirth | 2021-03-29 | 1 | -4/+7 |
| | |||||
* | Rename target_ty to self_ty | Lukas Wirth | 2021-03-29 | 1 | -2/+2 |
| | |||||
* | Lower traits to TraitRef instead of TypeRef | Lukas Wirth | 2021-03-29 | 1 | -2/+8 |
| | |||||
* | Fix recursive macro statement expansion | Edwin Cheng | 2021-03-25 | 1 | -8/+0 |
| | |||||
* | Merge #8082 | bors[bot] | 2021-03-18 | 1 | -0/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 8082: Proper handle inner recursive macro rules cases r=edwin0cheng a=edwin0cheng Fixes #7645 cc @jonas-schievink bors r+ Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Handle inner recursive macro rules cases | Edwin Cheng | 2021-03-18 | 1 | -0/+8 |
| | | |||||
* | | ItemTree: lower attributes on fn parameters | Jonas Schievink | 2021-03-17 | 1 | -16/+25 |
|/ | |||||
* | Use hir formatter more | oxalica | 2021-03-15 | 1 | -2/+6 |
| | |||||
* | Introduce FunctionQualifier for hir::FunctionData | oxalica | 2021-03-15 | 1 | -4/+23 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -1/+1 |
| | |||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -1/+2 |
| | |||||
* | Intern `TypeRef`s in the containing `ItemTree` | Jonas Schievink | 2021-02-04 | 1 | -5/+13 |
| | |||||
* | Add a FIXME to ItemTree | Jonas Schievink | 2021-02-03 | 1 | -0/+1 |
| | |||||
* | ItemTree: Treat items in `MacroStmts` as top-level | Jonas Schievink | 2021-01-28 | 1 | -0/+26 |
| | |||||
* | Derive Default on ItemTree | Laurențiu Nicola | 2021-01-25 | 1 | -1/+1 |
| | |||||
* | Remove unused field | Jonas Schievink | 2021-01-21 | 1 | -4/+0 |
| | |||||
* | Fix lowering with multiple block expressions | Jonas Schievink | 2021-01-21 | 1 | -15/+23 |
| | |||||
* | Create a mapping from blocks to inner items | Jonas Schievink | 2021-01-20 | 1 | -9/+24 |
| | |||||
* | Use ‘index’ terminology for arena consistently | Aramis Razzaghipour | 2021-01-17 | 1 | -2/+2 |
| | |||||
* | Don't look at attributes when lowering to ItemTree | Jonas Schievink | 2020-12-18 | 1 | -6/+1 |
| | | | | Resolves 2 `cfg_attr` FIXMEs | ||||
* | Refactor attributes API to allow handling cfg_attr | Jonas Schievink | 2020-12-18 | 1 | -9/+8 |
| | |||||
* | Avoid querying attributes in item tree lowering | Jonas Schievink | 2020-12-16 | 1 | -22/+2 |
| | | | | | | | | 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. | ||||
* | Node-ify lifetimes | Lukas Wirth | 2020-12-16 | 1 | -2/+2 |
| | |||||
* | Basic support for decl macros 2.0 | Jonas Schievink | 2020-12-15 | 1 | -1/+15 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -7/+17 |
| | |||||
* | Add LifetimeParam resolving to Semantics | Lukas Wirth | 2020-12-14 | 1 | -3/+2 |
| | |||||
* | Add Lifetimes to the HIR | Lukas Wirth | 2020-12-11 | 1 | -8/+12 |
| | |||||
* | Remove item tree tests | Jonas Schievink | 2020-12-10 | 1 | -439/+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 | -5/+8 |
| | |||||
* | Refactor is_intrinsic_fn_unsafe() and make it private | Francesco Zardi | 2020-10-21 | 1 | -39/+42 |
| | |||||
* | Move safe intrinsic tests | Francesco Zardi | 2020-10-21 | 1 | -20/+0 |
| | |||||
* | Add whitelist of safe intrinsics | Francesco Zardi | 2020-10-21 | 2 | -2/+62 |
| | |||||
* | Update tests for new function field | Zac Pullar-Strecker | 2020-10-08 | 1 | -12/+12 |
| | |||||
* | Differentiate method/tymethod by determining 'defaultness' | Zac Pullar-Strecker | 2020-10-08 | 1 | -0/+3 |
| | | | | | | | | | 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 | 2 | -3/+3 |
| | |||||
* | Merge #6016 | bors[bot] | 2020-09-17 | 2 | -3/+4 |
|\ | | | | | | | | | | | | | | | | | | | 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 | 2 | -3/+4 |
| | | |||||
* | | Update chalk to 0.27 and adapt to chalk changes. | Charles Lew | 2020-09-15 | 2 | -3/+5 |
|/ | |||||
* | Support extern types | Jonas Schievink | 2020-08-24 | 1 | -0/+4 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_hir_def -> hir_def | Aleksey Kladov | 2020-08-13 | 2 | -0/+1144 |