<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_gcc/example, branch 1.85.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-12-07T20:50:00+00:00</updated>
<entry>
<title>Make `Copy` unsafe to implement for ADTs with `unsafe` fields</title>
<updated>2024-12-07T20:50:00+00:00</updated>
<author>
<name>Jack Wrenn</name>
<email>jack@wrenn.fyi</email>
</author>
<published>2024-12-06T17:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ce35a4ec5f06828f908a018da083af5eb54301a'/>
<id>urn:sha1:3ce35a4ec5f06828f908a018da083af5eb54301a</id>
<content type='text'>
As a rule, the application of `unsafe` to a declaration requires that use-sites
of that declaration also require `unsafe`. For example, a field declared
`unsafe` may only be read in the lexical context of an `unsafe` block.

For nearly all safe traits, the safety obligations of fields are explicitly
discharged when they are mentioned in method definitions. For example,
idiomatically implementing `Clone` (a safe trait) for a type with unsafe fields
will require `unsafe` to clone those fields.

Prior to this commit, `Copy` violated this rule. The trait is marked safe, and
although it has no explicit methods, its implementation permits reads of `Self`.

This commit resolves this by making `Copy` conditionally safe to implement. It
remains safe to implement for ADTs without unsafe fields, but unsafe to
implement for ADTs with unsafe fields.

Tracking: #132922
</content>
</entry>
<entry>
<title>remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead</title>
<updated>2024-11-08T08:16:00+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-11-07T07:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e3010e84dbf2e06424c91c5a3d4206c1911813bd'/>
<id>urn:sha1:e3010e84dbf2e06424c91c5a3d4206c1911813bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename Receiver -&gt; LegacyReceiver</title>
<updated>2024-10-22T12:55:16+00:00</updated>
<author>
<name>Adrian Taylor</name>
<email>adetaylor@chromium.org</email>
</author>
<published>2024-09-11T12:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f85b90ca6d57459eb19accb6aaf781dd1c7bf6c'/>
<id>urn:sha1:8f85b90ca6d57459eb19accb6aaf781dd1c7bf6c</id>
<content type='text'>
As part of the "arbitrary self types v2" project, we are going to
replace the current `Receiver` trait with a new mechanism based on a
new, different `Receiver` trait.

This PR renames the old trait to get it out the way. Naming is hard.
Options considered included:
* HardCodedReceiver (because it should only be used for things in the
  standard library, and hence is sort-of hard coded)
* LegacyReceiver
* TargetLessReceiver
* OldReceiver

These are all bad names, but fortunately this will be temporary.
Assuming the new mechanism proceeds to stabilization as intended, the
legacy trait will be removed altogether.

Although we expect this trait to be used only in the standard library,
we suspect it may be in use elsehwere, so we're landing this change
separately to identify any surprising breakages.

It's known that this trait is used within the Rust for Linux project; a
patch is in progress to remove their dependency.

This is a part of the arbitrary self types v2 project,
https://github.com/rust-lang/rfcs/pull/3519
https://github.com/rust-lang/rust/issues/44874

r? @wesleywiser
</content>
</entry>
<entry>
<title>stabilize raw_ref_op</title>
<updated>2024-08-18T17:46:53+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-07-13T11:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79503dd742253cdca54f10aec9052ff477ccaf38'/>
<id>urn:sha1:79503dd742253cdca54f10aec9052ff477ccaf38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes in various places</title>
<updated>2024-08-10T10:08:46+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-20T21:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e77612d3e4ff34d5096fbf7f8a1b9d3a4351770c'/>
<id>urn:sha1:e77612d3e4ff34d5096fbf7f8a1b9d3a4351770c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stabilize `is_sorted`</title>
<updated>2024-07-27T19:11:54+00:00</updated>
<author>
<name>Slanterns</name>
<email>slanterns.w@gmail.com</email>
</author>
<published>2024-07-27T17:28:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec0b3540925af3cab9c38b0344902d48edb9d5b8'/>
<id>urn:sha1:ec0b3540925af3cab9c38b0344902d48edb9d5b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove lang feature for type ascription</title>
<updated>2024-07-12T00:40:38+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-07-11T22:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a36fcc8969761fa08c8f969104bba500ff0fb75c'/>
<id>urn:sha1:a36fcc8969761fa08c8f969104bba500ff0fb75c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master</title>
<updated>2024-07-10T10:44:23+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-07-10T10:44:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7cbe50e2098c35fda06433cd36bbced941607317'/>
<id>urn:sha1:7cbe50e2098c35fda06433cd36bbced941607317</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Step bootstrap cfgs</title>
<updated>2024-05-02T02:19:11+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2024-04-29T13:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a64f94161130944f8fda1f6dcc00f37860f43ecf'/>
<id>urn:sha1:a64f94161130944f8fda1f6dcc00f37860f43ecf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Error on using `yield` without also using `#[coroutine]` on the closure</title>
<updated>2024-04-24T08:05:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-04-11T13:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aef0f4024aec24fd7e53dbc51883457e44fe17ce'/>
<id>urn:sha1:aef0f4024aec24fd7e53dbc51883457e44fe17ce</id>
<content type='text'>
And suggest adding the `#[coroutine]` to the closure
</content>
</entry>
</feed>
