<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_gcc/example, branch 1.78.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.78.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.78.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-11T07:47:19+00:00</updated>
<entry>
<title>Rollup merge of #121840 - oli-obk:freeze, r=dtolnay</title>
<updated>2024-03-11T07:47:19+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2024-03-11T07:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05f22c3614e700922927b87929fe56f957dcea87'/>
<id>urn:sha1:05f22c3614e700922927b87929fe56f957dcea87</id>
<content type='text'>
Expose the Freeze trait again (unstably) and forbid implementing it manually

non-emoji version of https://github.com/rust-lang/rust/pull/121501

cc #60715

This trait is useful for generic constants (associated consts of generic traits). See the test (`tests/ui/associated-consts/freeze.rs`) added in this PR for a usage example. The builtin `Freeze` trait is the only way to do it, users cannot work around this issue.

It's also a useful trait for building some very specific abstrations, as shown by the usage by the `zerocopy` crate: https://github.com/google/zerocopy/issues/941

cc ```@RalfJung```

T-lang signed off on reexposing this unstably: https://github.com/rust-lang/rust/pull/121501#issuecomment-1969827742
</content>
</entry>
<entry>
<title>only set noalias on Box with the global allocator</title>
<updated>2024-03-05T14:03:33+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-03-05T10:32:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f391c0793b443d30ef8c4d4228550439d4dbfead'/>
<id>urn:sha1:f391c0793b443d30ef8c4d4228550439d4dbfead</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Forbid implementing `Freeze` even if the trait is stabilized</title>
<updated>2024-02-29T14:10:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-02-23T12:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=78492307406520214f24ce2519f3891f0048bf8e'/>
<id>urn:sha1:78492307406520214f24ce2519f3891f0048bf8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve wording of static_mut_ref</title>
<updated>2024-02-18T03:01:40+00:00</updated>
<author>
<name>Obei Sideg</name>
<email>obei.sideg@gmail.com</email>
</author>
<published>2024-02-17T19:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=408eeae59d35cbcaab2cfb345d24373954e74fc5'/>
<id>urn:sha1:408eeae59d35cbcaab2cfb345d24373954e74fc5</id>
<content type='text'>
Rename `static_mut_ref` lint to `static_mut_refs`.
</content>
</entry>
<entry>
<title>remove StructuralEq trait</title>
<updated>2024-01-24T06:56:23+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-26T07:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0df7810734d396d1a3082eee674d542c81c269d2'/>
<id>urn:sha1:0df7810734d396d1a3082eee674d542c81c269d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update test for `E0796` and `static_mut_ref` lint</title>
<updated>2024-01-07T14:29:25+00:00</updated>
<author>
<name>Obei Sideg</name>
<email>obei.sideg@gmail.com</email>
</author>
<published>2023-12-22T12:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8aa6878f63e53a9b0cfee542e9765407e1ca0d6'/>
<id>urn:sha1:a8aa6878f63e53a9b0cfee542e9765407e1ca0d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix rustc codegen gcc tests</title>
<updated>2023-12-11T17:48:49+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2023-12-11T17:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1bfeb1cdf5da100871403b0237d5ccf82e554c1'/>
<id>urn:sha1:b1bfeb1cdf5da100871403b0237d5ccf82e554c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow internal_features in rustc_codegen_gcc examples</title>
<updated>2023-12-07T14:26:18+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2023-12-07T14:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ed3b6850e44ef2febc3c3ebe88e8b2b0ed5e85e'/>
<id>urn:sha1:0ed3b6850e44ef2febc3c3ebe88e8b2b0ed5e85e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `libc` dependency in cg_gcc alloc_system example</title>
<updated>2023-11-02T20:03:27+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-10-30T17:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43290933a49f7d67be06717ac4d4bfe566f1deba'/>
<id>urn:sha1:43290933a49f7d67be06717ac4d4bfe566f1deba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix compilation errors in rustc_codegen_gcc examples</title>
<updated>2023-11-02T20:03:27+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-10-28T10:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ded81de06641eb6188b58856f7d8980a99231a00'/>
<id>urn:sha1:ded81de06641eb6188b58856f7d8980a99231a00</id>
<content type='text'>
</content>
</entry>
</feed>
