summary refs log tree commit diff
path: root/src/librustc/ty/mod.rs
AgeCommit message (Expand)AuthorLines
2020-04-03Ensure HAS_FREE_LOCAL_NAMES is set for ReFreeMatthew Jasper-12/+15
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-2/+2
2020-03-01Clean up TypeFlagsMatthew Jasper-61/+89
2020-03-01Auto merge of #69380 - Zoxc:parent-module, r=michaelwoeristerbors-4/+2
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-29Add a `parent_module_from_def_id` queryJohn Kåre Alsaker-4/+2
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-27Auto merge of #68434 - varkor:astconv-mismatch-error, r=nikomatsakisbors-1/+11
2020-02-24librustc{, codegen_ssa,infer,mir_build}: don't clone types that are copyMatthias Krüger-1/+1
2020-02-22Make return value of `check_generic_arg_count` semantically clearervarkor-1/+1
2020-02-22Refactor `create_substs_for_generic_args` a littlevarkor-0/+10
2020-02-21Auto merge of #69242 - cjgillot:object_violations, r=Zoxcbors-0/+4
2020-02-19Construct `AssociatedItems` from an iterator instead of a `Vec`Dylan MacKenzie-1/+1
2020-02-19Make lookup of associated item by name O(log n)Dylan MacKenzie-3/+79
2020-02-19Replace `rustc_typeck::Namespace` with `rustc_hir::def::Namespace`Dylan MacKenzie-1/+8
2020-02-19Make is_object_safe a method.Camille GILLOT-0/+4
2020-02-18Rollup merge of #69181 - skinny121:const-eval-return, r=oli-obkDylan DPC-3/+3
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-3/+3
2020-02-14Add fast path to eq_opaque_type_and_typeMatthew Jasper-1/+4
2020-02-14Erase regions in opaque types in typeckMatthew Jasper-3/+7
2020-02-14Auto merge of #69100 - cjgillot:resolve_instance, r=Zoxcbors-0/+1
2020-02-13Move resolve_instance to rustc_ty.Camille GILLOT-0/+1
2020-02-13Make TraitCandidate generic.Camille GILLOT-20/+2
2020-02-13Use HirId in TraitCandidate.Camille GILLOT-1/+19
2020-02-13Constness -> enum Const { Yes(Span), No }Mazdak Farrokhzad-2/+2
2020-02-12Auto merge of #68679 - matthewjasper:needs-type-op, r=varkorbors-5/+17
2020-02-10Add `#[repr(no_niche)]`.Felix S. Klock II-1/+7
2020-02-09Apply suggestions from code reviewmatthewjasper-1/+1
2020-02-08Make `provided_trait_methods` use `impl Iterator`Jonas Schievink-2/+1
2020-02-08Make `associated_items` query return a sliceJonas Schievink-21/+3
2020-02-06Rollup merge of #68837 - jonas-schievink:assoc-item-lookup-2, r=estebankDylan DPC-21/+10
2020-02-05Auto merge of #68831 - Dylan-DPC:rollup-j6x15y9, r=Dylan-DPCbors-2/+1
2020-02-05Make associated item lookup a queryJonas Schievink-21/+10
2020-02-04Auto merge of #68544 - Aaron1011:remove-overlapping-traits, r=estebankbors-12/+2
2020-02-04Rollup merge of #68818 - matthiaskrgr:misc_perf, r=Mark-SimulacrumDylan DPC-1/+1
2020-02-04Rollup merge of #68815 - matthiaskrgr:redundant_imports, r=alexcrichtonDylan DPC-1/+0
2020-02-04Remove the `overlapping_marker_traits` featureAaron Hill-12/+2
2020-02-04fix couple of perf related clipyp warningsMatthias Krüger-1/+1
2020-02-04remove redundant imports (clippy::single_component_path_imports)Matthias Krüger-1/+0
2020-02-02Add IS_MANUALLY_DROP to AdtFlagsMatthew Jasper-5/+17
2020-02-02Use more accurate failed predicate spansEsteban Küber-2/+7
2020-02-011. move node_id to syntaxMazdak Farrokhzad-2/+3
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-27don't clone types that are copy, round two.Matthias Krüger-4/+4
2020-01-23unused-parens: implement for block return valuesTyler Lanphear-1/+1
2020-01-20Add `ConstnessAnd` that implements `ToPredicate`Dylan MacKenzie-7/+49
2020-01-20Add `constness` field to `ty::Predicate::Trait`Dylan MacKenzie-7/+14
2020-01-20Auto merge of #68057 - Aaron1011:fix/marker-trait-selection, r=matthewjasperbors-4/+9
2020-01-17Rollup merge of #67791 - Zoxc:lift-interning, r=eddybDylan DPC-4/+6
2020-01-11Move some queries from rustc::ty to librustc_passes.Camille GILLOT-354/+2