summary refs log tree commit diff
path: root/tests/ui/layout
AgeCommit message (Expand)AuthorLines
2025-07-17trait_sel: `MetaSized` always holds temporarilyDavid Wood-10/+2
2025-06-16tests: update tests with unconstrained parametersDavid Wood-3/+12
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-1/+1
2025-06-09Auto merge of #142220 - workingjubilee:rollup-idgfpof, r=workingjubileebors-149/+75
2025-06-08Remove rustc's notion of "preferred" alignment AKA `__alignof`Jubilee Young-149/+75
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-7/+7
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-6/+6
2025-06-02Use the informative error as the main const eval error messageOli Scherer-21/+26
2025-05-07Remove manual WF hackMichael Goulet-10/+38
2025-04-13UI tests: migrate remaining compile time `error-pattern`s to line annotationsVadim Petrochenkov-3/+3
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-1/+1
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-4/+4
2025-03-30Auto merge of #138206 - amy-kwan:amy-kwan/reprc-struct-power-align-ignore-pac...bors-1/+25
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-15/+16
2025-03-08Refactor coroutine layout logic to precompute all sublayoutsMoulins-7/+1
2025-03-08[AIX] Ignore linting on repr(C) structs with repr(packed) or repr(align(n))Amy Kwan-1/+25
2025-03-06Rollup merge of #137805 - RalfJung:layout-debug-print, r=NoratriebMichael Goulet-74/+74
2025-03-03Don't typeck during WF, instead check outside of WF in check_crateMichael Goulet-9/+9
2025-03-01Rollup merge of #136503 - estebank:const-panic, r=RalfJungMatthias Krüger-15/+7
2025-02-28Shorten span of panic failures in const contextEsteban Küber-15/+7
2025-02-28adjust Layout debug printing to match the internal field namesRalf Jung-74/+74
2025-02-24tests: use minicore moreDavid Wood-20/+21
2025-02-21don't leave assoc const unnormalized due to unconstrained paramsLukas Markeffsky-2/+2
2025-02-21layout_of: put back not-so-unreachable caseLukas Markeffsky-0/+77
2025-02-20Update ui tests with `LayoutData { uninhabited: ... }` etcZachary S-1/+77
2025-02-18clean up layout error diagnosticsLukas Markeffsky-2/+2
2025-02-18document and test all `LayoutError` variantsLukas Markeffsky-1/+81
2025-02-13Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validityMichael Goulet-2/+16
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-8/+127
2025-01-23Rollup merge of #135552 - amy-kwan:amy-kwan/reprc-struct-diagnostic-power-ali...Matthias Krüger-0/+264
2025-01-22[AIX] Lint on structs that have a different alignment in AIX's C ABIAmy Kwan-0/+264
2025-01-16Properly note when query stack is being cut offMichael Goulet-1/+1
2025-01-14Consider more erroneous layouts as LayoutError::ReferencesError to suppress s...Michael Goulet-14/+3
2025-01-10test that coercions still work under randomizationThe 8472-8/+40
2025-01-10exclude unsizable tail from randomization seed calculationThe 8472-3/+4
2025-01-10adjust UI testsThe 8472-40/+120
2025-01-10Foo<T> != Foo<U> under layout randomizationThe 8472-0/+29
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+1
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-12/+12
2024-12-13Stabilize async closuresMichael Goulet-4/+2
2024-12-10Rollup merge of #134010 - RalfJung:promoted-type-error-ice, r=oli-obkLeón Orell Valerian Liehr-6/+0
2024-12-09fix ICE on type error in promotedRalf Jung-6/+0
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-5/+5
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-5/+5
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-5/+5
2024-12-07Don't suggest restricting bound with unstable traits on stableEsteban Küber-5/+5
2024-12-05Stabilize noop_wakerEric Holk-1/+1
2024-12-01fix ICE when promoted has layout size overflowRalf Jung-0/+6
2024-11-23Rollup merge of #133355 - chorman0773:spec-layout-tests, r=jieyouxu许杰友 Jieyou Xu (Joe)-0/+265
2024-11-22Remove `#[cfg(test)]` related stubsConnor Horman-57/+10