<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/layout, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-16T12:35:44+00:00</updated>
<entry>
<title>trait_sel: `MetaSized` always holds temporarily</title>
<updated>2025-07-16T12:35:44+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-07-16T10:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d64937dc25eb2b01596a3581ec2660d8e81b9b2'/>
<id>urn:sha1:8d64937dc25eb2b01596a3581ec2660d8e81b9b2</id>
<content type='text'>
As a temporary measure while a proper fix for
`tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs`
is implemented, make `MetaSized` obligations always hold. In effect,
temporarily reverting the `sized_hierarchy` feature. This is a small
change that can be backported.
</content>
</entry>
<entry>
<title>Rollup merge of #143296 - Kivooeo:tf21, r=tgross35</title>
<updated>2025-07-05T06:26:21+00:00</updated>
<author>
<name>Jubilee</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-07-05T06:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19a7f0fb7dcf3f92574232333b53d7e1aab37542'/>
<id>urn:sha1:19a7f0fb7dcf3f92574232333b53d7e1aab37542</id>
<content type='text'>
`tests/ui`: A New Order [21/N]

&gt; [!NOTE]
&gt;
&gt; Intermediate commits are intended to help review, but will be squashed prior to merge.

Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895.

r? `@tgross35`
</content>
</entry>
<entry>
<title>cleaned up some tests</title>
<updated>2025-07-04T20:25:48+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-06-30T19:43:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62ada473281d86e9a7e19d2fe375171874f83cab'/>
<id>urn:sha1:62ada473281d86e9a7e19d2fe375171874f83cab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moved tests</title>
<updated>2025-07-04T19:39:50+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-06-30T19:41:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ad98f78d4485f6f7f9615c1961bb75b281bfceb'/>
<id>urn:sha1:9ad98f78d4485f6f7f9615c1961bb75b281bfceb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unconditionally run `check_item_type` on all items</title>
<updated>2025-06-30T08:06:08+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-06-04T08:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b5d57d0a9d8ba75fd1602f62d0bfd9f2f6acd1e'/>
<id>urn:sha1:9b5d57d0a9d8ba75fd1602f62d0bfd9f2f6acd1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: update tests with unconstrained parameters</title>
<updated>2025-06-16T23:04:35+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-01-22T18:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb711504bd70afab7bfcc3700ccb39edcb9b26c9'/>
<id>urn:sha1:cb711504bd70afab7bfcc3700ccb39edcb9b26c9</id>
<content type='text'>
With the addition of new bounds to the unconstrained parameters, there
are more errors which just need blessed.
</content>
</entry>
<entry>
<title>intrinsics: rename min_align_of to align_of</title>
<updated>2025-06-12T15:50:25+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-06-12T11:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62418f4c56e57a591d51ba24ccbd6c7271ce4cb5'/>
<id>urn:sha1:62418f4c56e57a591d51ba24ccbd6c7271ce4cb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #142220 - workingjubilee:rollup-idgfpof, r=workingjubilee</title>
<updated>2025-06-09T02:20:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-06-09T02:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=334ba812755b974ecc46713fcdd38836b6182746'/>
<id>urn:sha1:334ba812755b974ecc46713fcdd38836b6182746</id>
<content type='text'>
Rollup of 12 pull requests

Successful merges:

 - rust-lang/rust#141803 (Remove rustc's notion of "preferred" alignment AKA `__alignof`)
 - rust-lang/rust#142053 (Add new Tier-3 targets: `loongarch32-unknown-none*`)
 - rust-lang/rust#142089 (Replace all uses of sysroot_candidates with get_or_default_sysroot)
 - rust-lang/rust#142108 (compiler: Add track_caller to AbiMapping::unwrap)
 - rust-lang/rust#142132 (`tests/ui`: A New Order [6/N])
 - rust-lang/rust#142162 (UnsafePinned: update get() docs and signature to allow shared mutation)
 - rust-lang/rust#142171 (`tests/ui`: A New Order [7/N])
 - rust-lang/rust#142179 (store `target.min_global_align` as an `Align`)
 - rust-lang/rust#142183 (Added test for 30904)
 - rust-lang/rust#142194 (Remove all unused feature gates from the compiler)
 - rust-lang/rust#142199 (Do not free disk space in the `mingw-check-tidy` job)
 - rust-lang/rust#142210 (Run `mingw-check-tidy` on auto builds)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Remove rustc's notion of "preferred" alignment AKA `__alignof`</title>
<updated>2025-06-08T23:41:46+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-02-12T06:09:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e1965831526407bada7abec631d7b7e9f6cbc7d'/>
<id>urn:sha1:2e1965831526407bada7abec631d7b7e9f6cbc7d</id>
<content type='text'>
In PR 90877 T-lang decided not to remove `intrinsics::pref_align_of`.
However, the intrinsic and its supporting code
1.  is a nightly feature, so can be removed at compiler/libs discretion
2.  requires considerable effort in the compiler to support, as it
    necessarily complicates every single site reasoning about alignment
3.  has been justified based on relevance to codegen, but it is only a
    requirement for C++ (not C, not Rust) stack frame layout for AIX,
    in ways Rust would not consider even with increased C++ interop
4.  is only used by rustc to overalign some globals, not correctness
5.  can be adequately replaced by other rules for globals, as it mostly
    affects alignments for a few types under 16 bytes of alignment
6.  has only one clear benefactor: automating C -&gt; Rust translation
    for GNU extensions like `__alignof`
7.  such code was likely intended to be `alignof` or `_Alignof`,
    because the GNU extension is a "false friend" of the C keyword,
    which makes the choice to support such a mapping very questionable
8.  makes it easy to do incorrect codegen in the compiler by its mere
    presence as usual Rust rules of alignment (e.g. `size == align * N`)
    do not hold with preferred alignment

The implementation is clearly damaging the code quality of the compiler.
Thus it is within the compiler team's purview to simply rip it out.
If T-lang wishes to have this intrinsic restored for c2rust's benefit,
it would have to use a radically different implementation that somehow
does not cause internal incorrectness.

Until then, remove the intrinsic and its supporting code, as one tool
and an ill-considered GCC extension cannot justify risking correctness.

Because we touch a fair amount of the compiler to change this at all,
and unfortunately the duplication of AbiAndPrefAlign is deep-rooted,
we keep an "AbiAlign" type which we can wean code off later.
</content>
</entry>
<entry>
<title>const-eval error: always say in which item the error occurred</title>
<updated>2025-06-07T11:42:30+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-06-07T09:32:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=17946c22b1d7abd2dd990bf6998c8491b534fe62'/>
<id>urn:sha1:17946c22b1d7abd2dd990bf6998c8491b534fe62</id>
<content type='text'>
also adjust the wording a little so that we don't say "the error occurred here" for two different spans
</content>
</entry>
</feed>
