about summary refs log tree commit diff
path: root/src/librustc/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-2722/+0
2020-03-27Rename TyLayout to TyAndLayout.Ana-Maria Mihalache-33/+43
2020-03-26Rollup merge of #70411 - ogoffart:fix-62691, r=eddybMazdak Farrokhzad-13/+14
2020-03-26Reorganize a bit the code and add a commentOlivier Goffart-4/+10
2020-03-26Revert previous commit and make the optimisation in a nicer wayOlivier Goffart-19/+6
2020-03-25Optimize slightly by avoiding to call Niche::reserve when not neededOlivier Goffart-7/+18
2020-03-25Fix for #62691: use the largest niche across all fieldsOlivier Goffart-14/+11
2020-03-25Rename LayoutDetails to just Layout.Ana-Maria Mihalache-48/+41
2020-03-23Rollup merge of #69968 - eddyb:tupled-closure-captures, r=nikomatsakisMazdak Farrokhzad-11/+9
2020-03-21make some let-if-bindings more idiomatic (clippy::useless_let_if_seq)Matthias Krüger-29/+25
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-11/+9
2020-03-20Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJungYuki Okushi-3/+11
2020-03-18Rollup merge of #69920 - Centril:hir-cleanup, r=ZoxcMazdak Farrokhzad-20/+14
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-20/+14
2020-03-14Use smaller discriminants for generatorsJonas Schievink-6/+9
2020-03-11Compute the correct layout for variants of uninhabited enums and readd a long...Oliver Scherer-3/+11
2020-03-11Rollup merge of #66059 - RalfJung:panic-on-non-zero, r=eddybMazdak Farrokhzad-30/+0
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-04cover some more nearby casesRalf Jung-3/+2
2020-03-03Rollup merge of #69619 - matthiaskrgr:misc, r=eddybYuki Okushi-4/+2
2020-03-01Fix use of `has_infer_types`Matthew Jasper-2/+2
2020-03-01use for (idx, item) in iter.enumerate() instead of manually counting loop i...Matthias Krüger-4/+2
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-29Auto merge of #69263 - anyska:blacklist-powerpc-zst, r=nagisabors-7/+15
2020-02-29mem::zeroed/uninit: panic on types that do not permit zero-initializationRalf Jung-30/+0
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-24Also blacklist powerpc-unknown-linux-musl.Ana-Maria-9/+12
2020-02-18Blacklist powerpc-unknown-linux-gnu as having non-ignored GNU C ZSTs.Ana-Maria-3/+8
2020-02-10Add `#[repr(no_niche)]`.Felix S. Klock II-7/+18
2020-02-08Auto merge of #68452 - msizanoen1:riscv-abi, r=nagisa,eddybbors-0/+1
2020-02-04Implement proper C ABI lowering for RISC-Vmsizanoen1-0/+1
2020-02-02Use real resume type as second argumentJonas Schievink-1/+2
2020-02-02Add a resume type parameter to `Generator`Jonas Schievink-2/+2
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-08Display more informative ICEYuki Okushi-5/+9
2020-01-06Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisabors-1/+1
2020-01-05Rename Instance.ty to Instance.monomorphic_tyAaron Hill-1/+1
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-573/+519
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-2/+2
2019-12-08Rollup merge of #66325 - BartMassey:master, r=joshtriplettMazdak Farrokhzad-1/+1
2019-12-05Add caller_location paramter to FnAbi::new_internal.Adam Perry-2/+11
2019-12-03rustc: add docs to FnAbi::{of_fn_ptr,of_instance} and InstanceDef::Virtual.Eduard-Mihai Burtescu-0/+11
2019-12-03rustc: move Instance::fn_sig to ty::layout and privatize it.Eduard-Mihai Burtescu-1/+71
2019-12-03rustc_target: add abi::call::Conv::Rust distinct from Conv::C.Eduard-Mihai Burtescu-1/+1
2019-12-03rustc: take a PolyFnSig instead of an FnSig in FnAbi::of_fn_ptr.Eduard-Mihai Burtescu-7/+8
2019-12-03rustc: rename FnAbi::new to FnAbi::of_fn_ptr.Eduard-Mihai Burtescu-2/+2
2019-12-03rustc: compute FnAbi's for virtual calls through FnAbi::of_instance.Eduard-Mihai Burtescu-12/+8