<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_middle/src/query, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-18T20:03:32+00:00</updated>
<entry>
<title>Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostly in rustc_hir and rustc_ast_lowering)</title>
<updated>2023-12-18T20:03:32+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2023-12-18T20:02:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=115885ba7e7f88ecc076497c0ac2b0ca304b16b5'/>
<id>urn:sha1:115885ba7e7f88ecc076497c0ac2b0ca304b16b5</id>
<content type='text'>
Part of https://github.com/rust-lang/compiler-team/issues/533
</content>
</entry>
<entry>
<title>global param_env canonicalization cache</title>
<updated>2023-12-13T14:57:52+00:00</updated>
<author>
<name>Ali MJ Al-Nasrawy</name>
<email>alimjalnasrawy@gmail.com</email>
</author>
<published>2023-12-04T20:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f38d1e971dcba3a3e9739d0d5aaf5f14329118bd'/>
<id>urn:sha1:f38d1e971dcba3a3e9739d0d5aaf5f14329118bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ctfe interpreter: extend provenance so that it can track whether a pointer is immutable</title>
<updated>2023-12-07T16:46:36+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-11-25T17:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb863033423d895c0530ab749e4a3bca494b5c27'/>
<id>urn:sha1:cb863033423d895c0530ab749e4a3bca494b5c27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.</title>
<updated>2023-12-01T22:01:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-11-30T04:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d1d3844430923395d38159c8979e587a1ca2879'/>
<id>urn:sha1:5d1d3844430923395d38159c8979e587a1ca2879</id>
<content type='text'>
Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug`
follows the pattern used everywhere else: `span_err`, `span_warning`,
etc.
</content>
</entry>
<entry>
<title>Auto merge of #117301 - saethlin:finish-rmeta-encoding, r=WaffleLapkin</title>
<updated>2023-11-26T14:43:02+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-11-26T14:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dbb4da04267b19bc8c403c0bb2b41c5b8010a61'/>
<id>urn:sha1:3dbb4da04267b19bc8c403c0bb2b41c5b8010a61</id>
<content type='text'>
Call FileEncoder::finish in rmeta encoding

Fixes https://github.com/rust-lang/rust/issues/117254

The bug here was that rmeta encoding never called FileEncoder::finish. Now it does. Most of the changes here are needed to support that, since rmeta encoding wants to finish _then_ access the File in the encoder, so finish can't move out.

I tried adding a `cfg(debug_assertions)` exploding Drop impl to FileEncoder that checked for finish being called before dropping, but fatal errors cause unwinding so this isn't really possible. If we encounter a fatal error with a dirty FileEncoder, the Drop impl ICEs even though the implementation is correct. If we try to paper over that by wrapping FileEncoder in ManuallyDrop then that just erases the fact that Drop automatically checks that we call finish on all paths.

I also changed the name of DepGraph::encode to DepGraph::finish_encoding, because that's what it does and it makes the fact that it is the path to FileEncoder::finish less confusing.

r? `@WaffleLapkin`
</content>
</entry>
<entry>
<title>rustc: Make `def_kind` mandatory for all `DefId`s</title>
<updated>2023-11-25T11:49:43+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2023-11-23T21:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c233863443201117b711bab0e0bf6966cd221f3'/>
<id>urn:sha1:2c233863443201117b711bab0e0bf6966cd221f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move WorkerLocal out of QueryArenas</title>
<updated>2023-11-24T01:15:29+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2023-11-24T01:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=107ea5d3bcc154b4c1dd31e646bb8fc41d4e7531'/>
<id>urn:sha1:107ea5d3bcc154b4c1dd31e646bb8fc41d4e7531</id>
<content type='text'>
This cuts librustc_driver.so code size by ~85 kilobytes.
</content>
</entry>
<entry>
<title>Call FileEncoder::finish in rmeta encoding</title>
<updated>2023-11-23T03:49:22+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-10-28T01:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fbaa24ee35dffb044e4895ad68f01c3f06046275'/>
<id>urn:sha1:fbaa24ee35dffb044e4895ad68f01c3f06046275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow defining opaques in check_coroutine_obligations</title>
<updated>2023-11-22T03:44:13+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-11-22T03:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f958a4802c1c29b804db34d53297504da555d02'/>
<id>urn:sha1:4f958a4802c1c29b804db34d53297504da555d02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `clippy::needless_borrow` in the compiler</title>
<updated>2023-11-21T19:13:40+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-11-21T19:07:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21a870515b18e5b2b90435d0f1a6d3089b5217ae'/>
<id>urn:sha1:21a870515b18e5b2b90435d0f1a6d3089b5217ae</id>
<content type='text'>
`x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`.

Then I had to remove a few unnecessary parens and muts that were exposed
now.
</content>
</entry>
</feed>
