aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/item_tree
Commit message (Collapse)AuthorAgeFilesLines
* Nest all the or-patterns!Lukas Wirth2021-06-171-2/+2
|
* internal: more natural order of sources for TypeParamAleksey Kladov2021-06-141-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_conversionMaan20032021-06-131-1/+1
|
* clippy::redudant_borrowMaan20032021-06-131-3/+3
|
* NFC: remove redundant clones (clippy::perf)Matthias Krüger2021-06-031-1/+1
|
* ItemTree: make variant fields inherit the enum's visibilityJonas Schievink2021-06-032-4/+43
|
* hir_ty: use async ret type for inference inside async bodiescynecx2021-05-292-3/+6
|
* Don't store supertraits in ItemTreeLaurențiu Nicola2021-05-273-9/+2
|
* Reduce memory usage a bitJonas Schievink2021-05-261-5/+10
|
* Clean up ItemTree lowering now that it's 1:1Jonas Schievink2021-05-261-53/+26
|
* Stop expanding UseTrees during ItemTree loweringJonas Schievink2021-05-263-42/+118
|
* Intern `GenericArgs`Jonas Schievink2021-05-241-1/+1
| | | | This shaves off another ~4 mb or so
* internal: intern `TypeBound`sJonas Schievink2021-05-242-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 paramsJonas Schievink2021-05-232-34/+155
|
* Pretty-print generic parametersJonas Schievink2021-05-232-22/+99
|
* ItemTree: pretty-print all pathsJonas Schievink2021-05-222-9/+119
|
* Add an ItemTree pretty-printerJonas Schievink2021-05-212-0/+769
|
* Remove `StructDefKind`Jonas Schievink2021-05-211-6/+1
|
* Don't lower extern block in the ItemTreeJonas Schievink2021-05-211-20/+29
|
* Precompute macro fragment kindJonas Schievink2021-05-091-1/+2
|
* Don't store call-site text offsets in hygiene infoJonas Schievink2021-05-061-15/+19
|
* Support macros in pattern positionJonas Schievink2021-04-111-1/+1
|
* Intern `GenericParams`Jonas Schievink2021-04-051-4/+4
| | | | | Also share the same instance between `ItemTree` and `generic_params` query.
* Add `GenericParams::shrink_to_fit`Jonas Schievink2021-04-051-0/+1
| | | | Reduces memory usage by over 10 MB
* Check if bitflags deps pulls its weightAleksey Kladov2021-04-041-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 propertiesJonas Schievink2021-04-031-26/+40
| | | | Very minor savings, only 1 MB or so
* Intern `ModPath` in `Import`Jonas Schievink2021-04-031-1/+1
| | | | Minor savings only
* Intern Attr, MacroCall and Path componentsJonas Schievink2021-04-011-1/+1
|
* Global TypeRef/TraitRef interningJonas Schievink2021-04-011-13/+10
|
* Fix block inner item defined in macroEdwin Cheng2021-03-311-0/+6
|
* Remove TraitRef::ErrorLukas Wirth2021-03-291-4/+7
|
* Rename target_ty to self_tyLukas Wirth2021-03-291-2/+2
|
* Lower traits to TraitRef instead of TypeRefLukas Wirth2021-03-291-2/+8
|
* Fix recursive macro statement expansionEdwin Cheng2021-03-251-8/+0
|
* Merge #8082bors[bot]2021-03-181-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 casesEdwin Cheng2021-03-181-0/+8
| |
* | ItemTree: lower attributes on fn parametersJonas Schievink2021-03-171-16/+25
|/
* Use hir formatter moreoxalica2021-03-151-2/+6
|
* Introduce FunctionQualifier for hir::FunctionDataoxalica2021-03-151-4/+23
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-1/+1
|
* Make `ModPath`'s representation privateJonas Schievink2021-02-041-1/+2
|
* Intern `TypeRef`s in the containing `ItemTree`Jonas Schievink2021-02-041-5/+13
|
* Add a FIXME to ItemTreeJonas Schievink2021-02-031-0/+1
|
* ItemTree: Treat items in `MacroStmts` as top-levelJonas Schievink2021-01-281-0/+26
|
* Derive Default on ItemTreeLaurențiu Nicola2021-01-251-1/+1
|
* Remove unused fieldJonas Schievink2021-01-211-4/+0
|
* Fix lowering with multiple block expressionsJonas Schievink2021-01-211-15/+23
|
* Create a mapping from blocks to inner itemsJonas Schievink2021-01-201-9/+24
|
* Use ‘index’ terminology for arena consistentlyAramis Razzaghipour2021-01-171-2/+2
|
* Don't look at attributes when lowering to ItemTreeJonas Schievink2020-12-181-6/+1
| | | | Resolves 2 `cfg_attr` FIXMEs