Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 1 | -2/+2 |
| | |||||
* | internal: more natural order of sources for TypeParam | Aleksey Kladov | 2021-06-14 | 1 | -1/+1 |
| | | | | | We usually use first (left) variant of `Either` for "usual" case, and use right for odd things. For example, pat source is Pat | SelfParam. | ||||
* | clippy::useless_conversion | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -3/+3 |
| | |||||
* | NFC: remove redundant clones (clippy::perf) | Matthias Krüger | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | ItemTree: make variant fields inherit the enum's visibility | Jonas Schievink | 2021-06-03 | 2 | -4/+43 |
| | |||||
* | hir_ty: use async ret type for inference inside async bodies | cynecx | 2021-05-29 | 2 | -3/+6 |
| | |||||
* | Don't store supertraits in ItemTree | Laurențiu Nicola | 2021-05-27 | 3 | -9/+2 |
| | |||||
* | Reduce memory usage a bit | Jonas Schievink | 2021-05-26 | 1 | -5/+10 |
| | |||||
* | Clean up ItemTree lowering now that it's 1:1 | Jonas Schievink | 2021-05-26 | 1 | -53/+26 |
| | |||||
* | Stop expanding UseTrees during ItemTree lowering | Jonas Schievink | 2021-05-26 | 3 | -42/+118 |
| | |||||
* | Intern `GenericArgs` | Jonas Schievink | 2021-05-24 | 1 | -1/+1 |
| | | | | This shaves off another ~4 mb or so | ||||
* | internal: intern `TypeBound`s | Jonas Schievink | 2021-05-24 | 2 | -7/+8 |
| | | | | | Doesn't save much memory (~2 mb), but interning things is generally a good pattern to follow | ||||
* | Render where clauses and more generic params | Jonas Schievink | 2021-05-23 | 2 | -34/+155 |
| | |||||
* | Pretty-print generic parameters | Jonas Schievink | 2021-05-23 | 2 | -22/+99 |
| | |||||
* | ItemTree: pretty-print all paths | Jonas Schievink | 2021-05-22 | 2 | -9/+119 |
| | |||||
* | Add an ItemTree pretty-printer | Jonas Schievink | 2021-05-21 | 2 | -0/+769 |
| | |||||
* | Remove `StructDefKind` | Jonas Schievink | 2021-05-21 | 1 | -6/+1 |
| | |||||
* | Don't lower extern block in the ItemTree | Jonas Schievink | 2021-05-21 | 1 | -20/+29 |
| | |||||
* | Precompute macro fragment kind | Jonas Schievink | 2021-05-09 | 1 | -1/+2 |
| | |||||
* | Don't store call-site text offsets in hygiene info | Jonas Schievink | 2021-05-06 | 1 | -15/+19 |
| | |||||
* | Support macros in pattern position | Jonas Schievink | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Intern `GenericParams` | Jonas Schievink | 2021-04-05 | 1 | -4/+4 |
| | | | | | Also share the same instance between `ItemTree` and `generic_params` query. | ||||
* | Add `GenericParams::shrink_to_fit` | Jonas Schievink | 2021-04-05 | 1 | -0/+1 |
| | | | | Reduces memory usage by over 10 MB | ||||
* | Check if bitflags deps pulls its weight | Aleksey Kladov | 2021-04-04 | 1 | -9/+9 |
| | | | | | | | | Bitflags is generally a good dependency -- it's lightweight, well maintained and embraced by the ecosystem. I wonder, however, do we really need it? Doesn't feel like it adds much to be honest. | ||||
* | 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 |