summary refs log tree commit diff
path: root/src/librustc/ty/util.rs
AgeCommit message (Expand)AuthorLines
2020-01-13Treat extern statics just like statics in the "const pointer to static" repre...Oliver Scherer-2/+0
2019-11-26Record temporary static references in generator witnessesMatthew Jasper-0/+17
2019-11-21Aggregation of drive-by cosmetic changes.Alexander Regueiro-3/+3
2019-11-12Create intermediate enum ty::ConstKind.Camille GILLOT-2/+1
2019-11-10Merge hir::Mutability into ast::Mutability.Camille GILLOT-2/+2
2019-10-21Rollup merge of #62330 - SimonSapin:no-drop-in-union-fields, r=RalfJungMazdak Farrokhzad-0/+2
2019-10-15Rollup merge of #65389 - ecstatic-morse:zero-sized-array-no-drop, r=eddybTyler Mandry-0/+3
2019-10-15Rollup merge of #65293 - tmandry:turbo-expander, r=matthewjasperTyler Mandry-4/+17
2019-10-14Only expand types that contain projectionsTyler Mandry-1/+3
2019-10-14Add expanded type cache to OpaqueTypeExpanderTyler Mandry-3/+14
2019-10-13Return `false` from `needs_drop` for all zero-sized arraysDylan MacKenzie-0/+3
2019-10-11Change untagged_unions to not allow union fields with dropUlrik Sverdrup-0/+2
2019-10-09Qualify LangItemMatt Stavola-1/+1
2019-10-09Delegate is_{freeze,copy,sized}_raw to is_item_rawMatt Stavola-21/+12
2019-10-03generate ClosureSubsts from SubstsRefcsmoe-2/+4
2019-09-29clean ClosureSubsts in rustc::tycsmoe-1/+1
2019-09-26Rename `subst::Kind` to `subst::GenericArg`varkor-8/+8
2019-09-25Rename `sty` to `kind`varkor-18/+18
2019-09-09check_match: refactor + improve non-exhaustive diag for default binding modes.Mazdak Farrokhzad-0/+18
2019-08-31Check impl trait substs when checking for recursive typesMatthew Jasper-2/+4
2019-08-28Add Option<Span> to `require_lang_item`Yuki Okushi-3/+3
2019-08-11add tuple_fields convenience method and use it in a few placesRalf Jung-4/+4
2019-07-13Rollup merge of #62585 - pnkfelix:issue-60431-make-struct-tail-normalize-when...Mazdak Farrokhzad-8/+94
2019-07-12Update docs to reflect review feedback.Felix S. Klock II-5/+10
2019-07-12Replace `struct_tail` and `struct_lockstep_tails` with variants handling norm...Felix S. Klock II-8/+89
2019-07-11Remove feature gate `dropck_parametricity` completelyLzu Tao-15/+0
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-19/+4
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-28/+28
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-53/+44
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-24/+24
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-19/+19
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-28/+28
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-1/+1
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-1/+2
2019-05-04rustc: collapse relevant DefPathData variants into TypeNs.Eduard-Mihai Burtescu-10/+3
2019-05-01Auto merge of #60195 - varkor:commontypes-to-common, r=eddybbors-1/+1
2019-04-26Update handling of Tuplevarkor-5/+11
2019-04-25Update existing usagesvarkor-1/+1
2019-04-21Change return type of `TyCtxt::is_static` to boolVadim Petrochenkov-3/+8
2019-04-21Introduce query `static_mutability`Vadim Petrochenkov-28/+2
2019-03-24Merge `DefPathData::VariantCtor` and `DefPathData::StructCtor`Vadim Petrochenkov-2/+2
2019-03-16Revert the `LazyConst` PROliver Scherer-2/+2
2019-03-15rustc: remove TyCtxt::parent_def_id in favor of TyCtxt::parent.Eduard-Mihai Burtescu-2/+2
2019-03-13Use derive macro for HashStableJohn Kåre Alsaker-1/+2
2019-03-05Handle const generics elsewherevarkor-4/+16
2019-02-27Rollup merge of #58749 - kenta7777:reduce-repetition, r=oli-obkMazdak Farrokhzad-7/+8
2019-02-27rename Substs to InternalSubstscsmoe-2/+2
2019-02-26replace &'tcx Substs with SubstsRefcsmoe-4/+4
2019-02-26reduce repetitions of (n << amt) >> amtkenta7777-7/+8
2019-02-15Always emit an error for a query cycleJohn Kåre Alsaker-15/+8