summary refs log tree commit diff
path: root/src/librustc/ty/sty.rs
AgeCommit message (Expand)AuthorLines
2019-08-11add tuple_fields convenience method and use it in a few placesRalf Jung-2/+12
2019-08-07Auto merge of #61919 - alexreg:fix-atb-1, r=nikomatsakisbors-6/+7
2019-08-05Get rid of one more useless `lift` invocationOliver Scherer-2/+1
2019-08-05Address comment and formatting nitsOliver Scherer-2/+2
2019-08-05Clear the ParamEnv where its information is irrelevantOliver Scherer-11/+15
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-15/+18
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-13/+29
2019-08-05Clean up the `ty::Const::assert*` methodsOliver Scherer-24/+10
2019-08-05A few cosmetic improvements.Alexander Regueiro-6/+7
2019-08-03Auto merge of #62946 - RalfJung:miri_type_dispatch_first, r=oli-obkbors-0/+6
2019-08-02add is_any_ptr type test; this also helps pacify tidyRalf Jung-0/+6
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-07-26clarify and unify some type test namesRalf Jung-2/+2
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-4/+3
2019-06-24Allow usage_of_ty_tykind only in styflip1995-0/+2
2019-06-14Remove unnecessary lift callsJohn Kåre Alsaker-8/+5
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-15/+3
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-65/+65
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-56/+62
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-54/+54
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-9/+9
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-36/+36
2019-06-12Rollup merge of #61688 - RalfJung:is-floating-point, r=cramertjMazdak Farrokhzad-8/+31
2019-06-11is_fp and is_floating_point do the same thing, remove the formerRalf Jung-8/+31
2019-06-11rustc: deny(unused_lifetimes).Eduard-Mihai Burtescu-2/+2
2019-06-09make floating point casts nicer with genericsRalf Jung-0/+8
2019-05-31Remove ty::BrFresh and new_boundYuki Okushi-3/+0
2019-05-28Rollup merge of #61164 - RalfJung:scalar, r=oli-obkMazdak Farrokhzad-5/+3
2019-05-26Rename "Associated*" to "Assoc*"Andrew Xu-1/+1
2019-05-26rename Scalar::Bits to Scalar::Raw and bits field to dataRalf Jung-5/+3
2019-05-25Make `ConstValue::Slice` solely take `[u8]` and `str`Oliver Scherer-1/+1
2019-05-25Don't use `ty::Const` without immediately interningOliver Scherer-9/+10
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-3/+3
2019-05-20Rollup merge of #60959 - petrochenkov:sassert, r=estebankMazdak Farrokhzad-2/+2
2019-05-20Avoid `as_str()` in `ParamTy::is_self`.Nicholas Nethercote-1/+1
2019-05-19Improve type size assertionsVadim Petrochenkov-2/+2
2019-05-06Rename `ParamTy::idx` to `ParamTy::index`varkor-6/+6
2019-05-04Auto merge of #59897 - tmandry:variantful-generators, r=eddybbors-30/+115
2019-05-03Address review commentsTyler Mandry-10/+8
2019-05-03Split out debuginfo from type info in MIR GeneratorLayoutTyler Mandry-4/+7
2019-04-26Update handling of Tuplevarkor-3/+6
2019-04-26Replace `&'tcx List<Ty<'tcx>>` in `Tuple` with `SubstsRef<'tcx>`varkor-1/+1
2019-04-25Generalize discriminant info calls for generators and ADTsTyler Mandry-7/+57
2019-04-25Describe generator variants in debuginfoTyler Mandry-0/+40
2019-04-25Support variantful generatorsTyler Mandry-18/+10
2019-04-25Give GeneratorLayout a list of fields for each variantTyler Mandry-8/+8
2019-04-25Define generator discriminant type in only one placeTyler Mandry-11/+13
2019-04-22Fix ICE related to #53708Esteban Küber-1/+1
2019-04-17Fix ICE on const evaluation of const methodEsteban Küber-0/+13
2019-03-16Revert the `LazyConst` PROliver Scherer-76/+3