aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
Commit message (Expand)AuthorAgeFilesLines
* Merge #8450bors[bot]2021-04-091-0/+4
|\
| * Insert unnamed consts to ChildBySource DynMapLukas Wirth2021-04-091-0/+4
* | Resolve prelude and crate root names in the root DefMapJonas Schievink2021-04-092-7/+34
| |
| \
*-. \ Merge #8443 #8446bors[bot]2021-04-095-35/+39
|\ \ \ | |_|/ |/| |
| | * Undo path resolution hack for extern preludeJonas Schievink2021-04-091-9/+4
| |/ |/|
| * Store `#[derive]` attribute ID along macro invocJonas Schievink2021-04-093-9/+15
| * Rename `Attr`s `index` field to `id`Jonas Schievink2021-04-091-8/+8
| * Add `AttrId` to track attribute sourcesJonas Schievink2021-04-091-14/+17
|/
* Use named fields in `MacroCallKind`Jonas Schievink2021-04-083-17/+22
* Track recursion limit when expanding custom deriveJonas Schievink2021-04-081-1/+1
* Update `OUT_DIR` diagnostic to match settingJonas Schievink2021-04-072-2/+2
* Collect trait impls inside unnamed constsJonas Schievink2021-04-071-0/+4
* nameres: collect unnamed constsJonas Schievink2021-04-072-14/+29
* Avoid O(n²) when constructing AttrSourceMapJonas Schievink2021-04-063-10/+70
* Lower attributes on tuple fieldsJonas Schievink2021-04-061-5/+4
* infer: remove `record_field_resolutions` fieldJonas Schievink2021-04-061-0/+13
* Intern TypeRefs stored in BodyJonas Schievink2021-04-062-8/+12
* Use Box'es to reduce the size of hir_def::expr::Pat from 112 to 64 bytes on 6...Alexandru Macovei2021-04-063-6/+12
* Use Box'es to reduce size of hir_def::expr::Expr from 128 to 72 bytes (on 64b...Alexandru Macovei2021-04-062-10/+14
* Merge #8352bors[bot]2021-04-051-9/+3
|\
| * Remove dead legacy macro expansion codeBrandon2021-04-051-9/+3
* | `Interned<T>`: Only hash the pointerJonas Schievink2021-04-051-2/+8
* | Make `impl_internable!` macro publicJonas Schievink2021-04-051-2/+7
* | Merge #8245bors[bot]2021-04-051-2/+93
|\ \
| * | Replace Range<usize> usage with TextRangeLukas Wirth2021-03-301-28/+14
| * | Implement basic Documentation source to syntax range mappingLukas Wirth2021-03-301-2/+107
* | | simplify visibility.rsJonas Schievink2021-04-051-3/+3
* | | Intern `GenericParams`Jonas Schievink2021-04-057-80/+44
* | | Add `GenericParams::shrink_to_fit`Jonas Schievink2021-04-052-0/+10
* | | Intern more `TypeRef`s in genericsJonas Schievink2021-04-053-9/+11
* | | Check if bitflags deps pulls its weightAleksey Kladov2021-04-044-33/+33
* | | Merge #8324bors[bot]2021-04-041-1/+11
|\ \ \
| * | | Add `Body::shrink_to_fit`Jonas Schievink2021-04-041-1/+11
* | | | Only remember blocks that have a DefMapJonas Schievink2021-04-042-6/+8
|/ / /
* | | Merge #8322bors[bot]2021-04-042-2/+12
|\ \ \
| * | | Access a body's block def maps via a methodJonas Schievink2021-04-042-2/+12
* | | | Use exhaustive matches in shrink_to_fit implsJonas Schievink2021-04-042-13/+38
|/ / /
* | | Make `ast_to_token_tree` infallibleJonas Schievink2021-04-041-1/+1
* | | Use shrink_to_fit to reduce DefMap sizesJonas Schievink2021-04-033-1/+25
* | | Use bitflags to compress function propertiesJonas Schievink2021-04-034-53/+102
* | | Intern `ModPath` in `Import`Jonas Schievink2021-04-033-4/+8
* | | Allow include! an empty content fileEdwin Cheng2021-04-032-0/+33
* | | Support `#[rustc_builtin_macro = "builtin_name"]`Jonas Schievink2021-04-031-1/+11
* | | Allow interning stringsJonas Schievink2021-04-031-9/+46
* | | Stop using an upgradeable read lock in interningJonas Schievink2021-04-021-5/+2
* | | Only populate prelude for crate-level DefMapsJonas Schievink2021-04-021-14/+16
* | | Remove `?Sized` on `PartialEq`/`Eq` implsJonas Schievink2021-04-021-3/+5
* | | Split `Intern::drop` into hot and cold pathJonas Schievink2021-04-021-16/+23
* | | Remove unnecessary region, relax `Sized` boundsJonas Schievink2021-04-011-16/+12
* | | Intern Attr, MacroCall and Path componentsJonas Schievink2021-04-017-17/+21