about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/layout_sanity_check.rs
AgeCommit message (Collapse)AuthorLines
2024-10-20compiler: pre-move code for fixing enum layout ICEsJubilee Young-296/+0
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-3/+5
2024-09-16make `LayoutCx` not genericLukas Markeffsky-12/+5
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-1/+1
- Replace non-standard names like 's, 'p, 'rg, 'ck, 'parent, 'this, and 'me with vanilla 'a. These are cases where the original name isn't really any more informative than 'a. - Replace names like 'cx, 'mir, and 'body with vanilla 'a when the lifetime applies to multiple fields and so the original lifetime name isn't really accurate. - Put 'tcx last in lifetime lists, and 'a before 'b.
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+4
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-05-13Remove `extern crate rustc_middle` from `rustc_ty_utils`.Nicholas Nethercote-0/+1
2023-10-27fix failure to detect a too-big-type after adding paddingRalf Jung-0/+3
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-6/+1
This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786.
2023-07-21Move `naive_layout_of` query provider in separate sibling moduleMoulins-1/+6
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+2
2023-05-05Factor out checks in layout check and add helper inherent_size.Luqman Aden-54/+40
2023-04-17Spelling - compilerJosh Soref-1/+1
* account * achieved * advising * always * ambiguous * analysis * annotations * appropriate * build * candidates * cascading * category * character * clarification * compound * conceptually * constituent * consts * convenience * corresponds * debruijn * debug * debugable * debuggable * deterministic * discriminant * display * documentation * doesn't * ellipsis * erroneous * evaluability * evaluate * evaluation * explicitly * fallible * fulfill * getting * has * highlighting * illustrative * imported * incompatible * infringing * initialized * into * intrinsic * introduced * javascript * liveness * metadata * monomorphization * nonexistent * nontrivial * obligation * obligations * offset * opaque * opportunities * opt-in * outlive * overlapping * paragraph * parentheses * poisson * precisely * predecessors * predicates * preexisting * propagated * really * reentrant * referent * responsibility * rustonomicon * shortcircuit * simplifiable * simplifications * specify * stabilized * structurally * suggestibility * translatable * transmuting * two * unclosed * uninhabited * visibility * volatile * workaround Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-28stricter alignment enforcement for ScalarPair and VectorRalf Jung-15/+22
2022-11-28sanity_check_layout: less rightwards driftRalf Jung-262/+265
2022-11-24move things from rustc_target::abi to rustc_abihkalbasi-9/+9
2022-11-20Factor out conservative_is_privately_uninhabitedCameron Steffen-1/+1
2022-10-03Move utils from rustc_middle to rustc_ty_utilsCameron Steffen-0/+303