<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_middle/src/query, branch 1.52.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.52.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.52.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-03-17T23:28:09+00:00</updated>
<entry>
<title>Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser</title>
<updated>2021-03-17T23:28:09+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2021-03-17T23:28:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b688b694d083b94ed19c8c93fb321a52ca98d4d9'/>
<id>urn:sha1:b688b694d083b94ed19c8c93fb321a52ca98d4d9</id>
<content type='text'>
Make source-based code coverage compatible with MIR inlining

When codegenning code coverage use the instance that coverage data was
originally generated for, to ensure basic level of compatibility with
MIR inlining.

Fixes #83061
</content>
</entry>
<entry>
<title>Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper</title>
<updated>2021-03-16T22:42:56+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-03-16T22:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e655fb62216b6ba64a094b30f116d7988d19322d'/>
<id>urn:sha1:e655fb62216b6ba64a094b30f116d7988d19322d</id>
<content type='text'>
Implement (but don't use) valtree and refactor in preparation of use

This PR does not cause any functional change. It refactors various things that are needed to make valtrees possible. This refactoring got big enough that I decided I'd want it reviewed as a PR instead of trying to make one huge PR with all the changes.

cc `@rust-lang/wg-const-eval` on the following commits:

* 2027184 implement valtree
* eeecea9 fallible Scalar -&gt; ScalarInt
* 042f663 ScalarInt convenience methods

cc `@eddyb` on ef04a6d

cc `@rust-lang/wg-mir-opt` for cf1700c (`mir::Constant` can now represent either a `ConstValue` or a `ty::Const`, and it is totally possible to have two different representations for the same value)
</content>
</entry>
<entry>
<title>Functions inlined into reachable functions are reachable</title>
<updated>2021-03-15T22:26:03+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-03-13T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a9538acb55f0980728a159996fdeff77b845455'/>
<id>urn:sha1:5a9538acb55f0980728a159996fdeff77b845455</id>
<content type='text'>
Consider functions to be reachable for code coverage purposes, either
when they reach the code generation directly, or indirectly as inlined
part of another function.
</content>
</entry>
<entry>
<title>Mark `extern_mod_stmt_cnum` as `eval_always`</title>
<updated>2021-03-15T16:26:49+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2021-03-15T16:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e70d47b3b5b9bb8bb680264cee6d88d9c74277bc'/>
<id>urn:sha1:e70d47b3b5b9bb8bb680264cee6d88d9c74277bc</id>
<content type='text'>
This query reads from global untracked state, so it always needs to be
evaluated.
</content>
</entry>
<entry>
<title>Intern valtree field vector</title>
<updated>2021-03-12T12:19:17+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2021-02-22T14:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0fe4f38769ff5654cb24a9b84ce69b4cdce46e64'/>
<id>urn:sha1:0fe4f38769ff5654cb24a9b84ce69b4cdce46e64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement valtree</title>
<updated>2021-03-12T12:16:14+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2021-02-22T14:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a4fbac163e7291b052fa5ec64f14cc0a52932ff4'/>
<id>urn:sha1:a4fbac163e7291b052fa5ec64f14cc0a52932ff4</id>
<content type='text'>
valtree is a version of constants that is inherently safe to be used within types.
This is in contrast to ty::Const which can have different representations of the same value. These representation differences can show up in hashing or equality comparisons, breaking type equality of otherwise equal types.
valtrees do not have this problem.
</content>
</entry>
<entry>
<title>Use BTreeMap to store attributes.</title>
<updated>2021-03-09T18:28:01+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-01-24T16:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38d9d09a58803ebd1f5b4432f9e49d01d2fce0f1'/>
<id>urn:sha1:38d9d09a58803ebd1f5b4432f9e49d01d2fce0f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Collect attributes during HIR lowering.</title>
<updated>2021-03-09T17:51:37+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2020-11-24T17:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fb257b3b4d11552963103acd8491d1bbea547d0'/>
<id>urn:sha1:1fb257b3b4d11552963103acd8491d1bbea547d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #82510 - jyn514:fix-typo, r=Dylan-DPC</title>
<updated>2021-02-25T21:06:26+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2021-02-25T21:06:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2'/>
<id>urn:sha1:42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2</id>
<content type='text'>
Fix typo in `param_env_reveal_all_normalized`

This made the generated docs look strange: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env_reveal_all_normalized
</content>
</entry>
<entry>
<title>Fix typo in `param_env_reveal_all_normalized` #82510</title>
<updated>2021-02-25T05:41:38+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2021-02-25T05:41:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ae4bf912e90bd85d65d52532470ec131ec3bf8a'/>
<id>urn:sha1:0ae4bf912e90bd85d65d52532470ec131ec3bf8a</id>
<content type='text'>
This made the generated docs look strange: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env_reveal_all_normalized
</content>
</entry>
</feed>
