summary refs log tree commit diff
path: root/src/librustc_infer
AgeCommit message (Expand)AuthorLines
2020-04-06Use TypeRelating for instantiating query responsesMatthew Jasper-7/+78
2020-03-07Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkovMazdak Farrokhzad-11/+11
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-17/+17
2020-03-06fix various typosMatthias Krüger-11/+11
2020-03-06Auto merge of #69614 - estebank:ice-age, r=davidtwcobors-7/+11
2020-03-05Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecess...Matthias Krüger-1/+1
2020-03-05Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg)Matthias Krüger-1/+1
2020-03-03Rollup merge of #69650 - matthiaskrgr:clnp, r=varkorDylan DPC-6/+2
2020-03-03Rollup merge of #69619 - matthiaskrgr:misc, r=eddybYuki Okushi-2/+2
2020-03-03Use .nth(x) instead of .skip(x).next() on iterators.Matthias Krüger-6/+2
2020-03-02Remove chalk integrationCAD97-203/+18
2020-03-02use values() or keys() respectively when iterating only over keys or values o...Matthias Krüger-2/+2
2020-03-01Fix use of `has_infer_types`Matthew Jasper-39/+15
2020-03-01`delay_span_bug` when codegen cannot select obligationEsteban Küber-7/+11
2020-03-01Rollup merge of #69569 - matthiaskrgr:nonminimal_bool, r=mark-SimulacrumDylan DPC-4/+4
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-7/+7
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-7/+7
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-6/+4
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29Auto merge of #69570 - Dylan-DPC:rollup-d6boczt, r=Dylan-DPCbors-5/+5
2020-02-29simplify boolean expressionsMatthias Krüger-4/+4
2020-02-29Auto merge of #69255 - estebank:e0599-details, r=varkorbors-2/+1
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-6/+4
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-1/+1
2020-02-29Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-SimulacrumDylan DPC-4/+4
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-1/+1
2020-02-28Add more context to E0599 errorsEsteban Küber-2/+1
2020-02-28Rollup merge of #69547 - matthiaskrgr:more_misc, r=Mark-SimulacrumMazdak Farrokhzad-8/+4
2020-02-28Rollup merge of #69541 - dotdash:format, r=Mark-SimulacrumMazdak Farrokhzad-6/+4
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-4/+4
2020-02-28remove redundant clones, references to operands, explicit boolean comparisons...Matthias Krüger-8/+4
2020-02-28Auto merge of #68505 - skinny121:canonicalize-const-eval-inputs, r=nikomatsakisbors-35/+50
2020-02-28Rollup merge of #69529 - matthiaskrgr:clippy_identity_conversion, r=Mark-Simu...Dylan DPC-3/+2
2020-02-28Rollup merge of #69496 - matthiaskrgr:filter_next, r=ecstatic-morseDylan DPC-3/+2
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-3/+2
2020-02-27Remove unneeded calls to format!()Björn Steinbrink-6/+4
2020-02-27use find(x) instead of filter(x).next()Matthias Krüger-3/+2
2020-02-26don't take redundant references to operandsMatthias Krüger-1/+1
2020-02-26Auto merge of #61812 - jonas-schievink:assoc-ty-defaults, r=nikomatsakisbors-14/+29
2020-02-26Rollup merge of #69429 - matthiaskrgr:clippy_, r=estebankDylan DPC-1/+1
2020-02-24Replace uses of Cell::get + Cell::set with Cell::replace.Ana-Maria-4/+2
2020-02-24librustc{, codegen_ssa,infer,mir_build}: don't clone types that are copyMatthias Krüger-1/+1
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-4/+4
2020-02-21Auto merge of #69242 - cjgillot:object_violations, r=Zoxcbors-149/+12
2020-02-21Implement RFC 2532 – Associated Type DefaultsJonas Schievink-14/+29
2020-02-20Auto merge of #69072 - ecstatic-morse:associated-items, r=petrochenkovbors-8/+11
2020-02-20Rollup merge of #69305 - estebank:consider-lt, r=Dylan-DPCMazdak Farrokhzad-10/+12
2020-02-20Canonicalize inputs to const eval where needed.Ben Lewis-35/+50
2020-02-19Tweak binding lifetime suggestion textEsteban Küber-10/+12
2020-02-19Make lookup of associated item by name O(log n)Dylan MacKenzie-8/+11