<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_trait_selection/src/traits/misc.rs, 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-14T20:31:07+00:00</updated>
<entry>
<title>Add some convenience helper methods on `hir::Safety`</title>
<updated>2024-12-14T20:31:07+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2024-12-13T12:19:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a4e5d7444c4d43097c2ca0d1b8e64be9dbeddfa'/>
<id>urn:sha1:8a4e5d7444c4d43097c2ca0d1b8e64be9dbeddfa</id>
<content type='text'>
</content>
</entry>
<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>TypingMode :thinking:</title>
<updated>2024-10-29T16:01:24+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-10-17T22:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f51ec110a714fea09105586b26c7f8e6a2a57018'/>
<id>urn:sha1:f51ec110a714fea09105586b26c7f8e6a2a57018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use assert_matches around the compiler</title>
<updated>2024-08-11T16:25:39+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-08-11T16:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c361c924a08c2e34c705ec3ee1ad2099315338d8'/>
<id>urn:sha1:c361c924a08c2e34c705ec3ee1ad2099315338d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Split part of `adt_const_params` into `unsized_const_params`</title>
<updated>2024-07-17T10:01:29+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2024-07-14T12:38:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0c11bf6e3fea61711af107c896a763a71606340'/>
<id>urn:sha1:d0c11bf6e3fea61711af107c896a763a71606340</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Forbid `!Sized` types and references</title>
<updated>2024-07-17T10:01:29+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2024-07-14T11:50:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42cc42b942088a94d95bc5169724d77429f20582'/>
<id>urn:sha1:42cc42b942088a94d95bc5169724d77429f20582</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Opt-in diagnostics reporting to avoid doing extra work in the new solver</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T18:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb0a70a5578be0ae164cb802898ea98d41e95f13'/>
<id>urn:sha1:eb0a70a5578be0ae164cb802898ea98d41e95f13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make TraitEngines generic over error</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T18:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54b2b7d460fd0847508b781219d380231c4fee72'/>
<id>urn:sha1:54b2b7d460fd0847508b781219d380231c4fee72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use regular type equating instead of a custom query</title>
<updated>2024-05-24T09:15:43+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-05-23T16:23:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5eb7a71b3c869eb9e15f10da6eb92303b96dfb5'/>
<id>urn:sha1:d5eb7a71b3c869eb9e15f10da6eb92303b96dfb5</id>
<content type='text'>
</content>
</entry>
</feed>
