<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_error_codes/src, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-27T18:25:18+00:00</updated>
<entry>
<title>Changes to the uitests</title>
<updated>2025-08-27T18:25:18+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-16T11:46:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7db184056909045802a66299947dc81c8e43e605'/>
<id>urn:sha1:7db184056909045802a66299947dc81c8e43e605</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rollup merge of #144944 - He1pa:E0793, r=compiler-errors</title>
<updated>2025-08-15T06:16:32+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-15T06:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b955aa722e190689740e6379eee9684c324e8d1f'/>
<id>urn:sha1:b955aa722e190689740e6379eee9684c324e8d1f</id>
<content type='text'>
E0793: Clarify that it applies to unions as well

pick up inactive PR: https://github.com/rust-lang/rust/pull/131472

Also:
Adjust the language slightly to be more consistent with other similar messages (was created instead of got created).
Add a short section on union.
Add an example line showing referencing a field in a packed struct is safe if the field's type isn't more strictly aligned than the pack.

r? compiler-errors
</content>
</entry>
<entry>
<title>Remove the old target checking logic</title>
<updated>2025-08-14T16:18:42+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-08-09T18:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5245c399720cf4f2414c2a4d9b4a5007ad942956'/>
<id>urn:sha1:5245c399720cf4f2414c2a4d9b4a5007ad942956</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolve: Split extern prelude into two scopes</title>
<updated>2025-08-13T14:45:40+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-08-01T15:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=772493d51d24dabbffdc54aaf48859eec85d544e'/>
<id>urn:sha1:772493d51d24dabbffdc54aaf48859eec85d544e</id>
<content type='text'>
One for `--extern` options and another for `extern crate` items.

</content>
</entry>
<entry>
<title>E0793: Clarify that it applies to unions as well</title>
<updated>2025-08-12T03:38:33+00:00</updated>
<author>
<name>黑怕</name>
<email>zz307326@antgroup.com</email>
</author>
<published>2025-08-05T08:40:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57901fe09242582608dfbaa047ea006cf0c984a2'/>
<id>urn:sha1:57901fe09242582608dfbaa047ea006cf0c984a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update E0562 to account for the new impl trait positions</title>
<updated>2025-08-02T09:29:04+00:00</updated>
<author>
<name>Noratrieb</name>
<email>48135649+Noratrieb@users.noreply.github.com</email>
</author>
<published>2025-08-02T09:27:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=870b58f4d060cc63c2969faa3f54da7802c4881e'/>
<id>urn:sha1:870b58f4d060cc63c2969faa3f54da7802c4881e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update uitest stderrs</title>
<updated>2025-07-23T11:33:23+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-12T15:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3303534dc8825258f8a5d3a1b1e4572d55cccd9a'/>
<id>urn:sha1:3303534dc8825258f8a5d3a1b1e4572d55cccd9a</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Don't reject *multiple* relaxed bounds, reject *duplicate* ones.</title>
<updated>2025-07-18T10:24:56+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-07-18T10:24:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cdc3d701cb4ff37e9d0c96c1c68b2e8789c19441'/>
<id>urn:sha1:cdc3d701cb4ff37e9d0c96c1c68b2e8789c19441</id>
<content type='text'>
Having multiple relaxed bounds like `?Sized + ?Iterator` is actually *fine*.
We actually want to reject *duplicate* relaxed bounds like `?Sized + ?Sized`
because these most certainly represent a user error.

Note that this doesn't mean that we accept more code because a bound like
`?Iterator` is still invalid as it's not relaxing a *default* trait and
the only way to define / use more default bounds is under the experimental
and internal feature `more_maybe_bounds` plus `lang_items` plus unstable
flag `-Zexperimental-default-bounds` (historical context: for the longest
time, bounds like `?Iterator` were actually allowed and lead to a hard
warning).

Ultimately, this simply *reframes* the diagnostic. The scope of
`more_maybe_bounds` / `-Zexperimental-default-bounds` remains unchanged
as well.
</content>
</entry>
<entry>
<title>New example for E0536</title>
<updated>2025-07-15T07:21:27+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-07T07:10:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a7c74ad89df9f87824fa17fbbe0448d9ab6f7cc'/>
<id>urn:sha1:7a7c74ad89df9f87824fa17fbbe0448d9ab6f7cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiler: Trim the misleading C of C-cmse from errors</title>
<updated>2025-06-25T07:52:10+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-06-07T06:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=383d76106baa2042481de88dfff8ed2043ac50e6'/>
<id>urn:sha1:383d76106baa2042481de88dfff8ed2043ac50e6</id>
<content type='text'>
</content>
</entry>
</feed>
