about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2020-03-05Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecess...Matthias Krüger-4/+4
2020-03-05Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg)Matthias Krüger-2/+2
2020-03-05Use simple 'for i in x' loops instead of 'while let Some(x) = x.next()' loops...Matthias Krüger-3/+2
2020-03-05Const items have by default a static lifetime, there's no need to annotate it...Matthias Krüger-2/+2
2020-03-05Opt out of CTFE if the 'const_eval_limit' is set to 0Christoph Schmidler-7/+15
2020-03-04PlaceRef<'a, 'tcx> -> PlaceRef<'tcx>Santiago Pastorino-41/+37
2020-03-04Make PlaceRef lifetimes of in_projection be both 'tcxSantiago Pastorino-4/+4
2020-03-04Make PlaceRef lifetimes of is_prefix_of be both 'tcxSantiago Pastorino-4/+4
2020-03-04Make PlaceRef lifetimes of classify_drop_access_kind be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of closure_span be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of move_spans be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of borrowed_content_source be both 'tcxSantiago Pastorino-2/+2
2020-03-04Make PlaceRef lifetimes of describe_field be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of add_moved_or_invoked_closure_note be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of is_upvar_field_projection be both 'tcxSantiago Pastorino-6/+6
2020-03-04Don't use "if let" bindings to only check a value and not actually bind anyth...Matthias Krüger-3/+3
2020-03-04Make PlaceRef lifetimes of move_path_for_place be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of move_path_closest_to be both 'tcxSantiago Pastorino-2/+2
2020-03-04Make PlaceRef lifetimes of uninitialized_error_reported be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of move_error_reported be both 'tcxSantiago Pastorino-9/+10
2020-03-04Make PlaceRef lifetimes of borrow_conflict_place be both 'tcxSantiago Pastorino-4/+5
2020-03-04cover some more nearby casesRalf Jung-1/+0
2020-03-04use integer assoc consts instead of methodsRalf Jung-4/+4
2020-03-04Auto merge of #69550 - RalfJung:scalar, r=oli-obkbors-43/+41
2020-03-03Rollup merge of #69650 - matthiaskrgr:clnp, r=varkorDylan DPC-5/+2
2020-03-03Rollup merge of #69565 - RalfJung:assert, r=eddybDylan DPC-7/+7
2020-03-03Make PlaceRef lifetimes of RootPlace be both 'tcxSantiago Pastorino-6/+6
2020-03-03Use correct place for `enum_place`Dylan MacKenzie-20/+28
2020-03-03rename TraitItemKind::Method -> FnMark Mansi-2/+2
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-1/+1
2020-03-03Auto merge of #69482 - lqd:poloniusup, r=nikomatsakisbors-42/+57
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-2/+2
2020-03-03Use let instead of match to get value of enum with single variant.Matthias Krüger-5/+2
2020-03-02s/merged_block_count/statements_to_merge/gMarkus Westerlind-3/+3
2020-03-02Auto merge of #69257 - RalfJung:layout-visitor, r=eddybbors-174/+191
2020-03-01Auto merge of #69408 - RalfJung:canonical-alloc-id, r=oli-obkbors-66/+58
2020-03-01`delay_span_bug` when codegen cannot select obligationEsteban Küber-1/+1
2020-03-01Auto merge of #69606 - JohnTitor:rollup-i3nrrcf, r=JohnTitorbors-55/+73
2020-03-01Rollup merge of #69580 - matthiaskrgr:map_clone, r=CentrilYuki Okushi-1/+1
2020-03-01Rollup merge of #69562 - ecstatic-morse:dataflow-generator-discriminant, r=ol...Yuki Okushi-54/+72
2020-03-01Auto merge of #69295 - ecstatic-morse:unified-dataflow-generators, r=tmandrybors-158/+159
2020-03-01Auto merge of #68943 - ecstatic-morse:no-useless-drop-on-enum-variants, r=mat...bors-15/+30
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-14/+14
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-14/+14
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-10/+8
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29use .copied() instead of .map(|x| *x) on iteratorsMatthias Krüger-1/+1
2020-02-29downgrade some assertions to debug_ againRalf Jung-5/+7
2020-02-28Process `RequiresStorage` results in pre-orderDylan MacKenzie-2/+3
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-10/+8