<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_mir/src/interpret/validity.rs, branch 1.53.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.53.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.53.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-03-19T00:45:49+00:00</updated>
<entry>
<title>Replace closures_captures and upvar_capture with closure_min_captures</title>
<updated>2021-03-19T00:45:49+00:00</updated>
<author>
<name>Jennifer Wills</name>
<email>wills.jenniferg@gmail.com</email>
</author>
<published>2020-12-23T20:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52dba13e410f4f15390c83c13cb887d3f5b7b3e7'/>
<id>urn:sha1:52dba13e410f4f15390c83c13cb887d3f5b7b3e7</id>
<content type='text'>
make changes to liveness to use closure_min_captures

use different span

borrow check uses new structures

rename to CapturedPlace

stop using upvar_capture in regionck

remove the bridge

cleanup from rebase + remove the upvar_capture reference from mutability_errors.rs

remove line from livenes test

make our unused var checking more consistent

update tests

adding more warnings to the tests

move is_ancestor_or_same_capture to rustc_middle/ty

update names to reflect the closures

add FIXME

check that all captures are immutable borrows before returning

add surrounding if statement like the original

move var out of the loop and rename

Co-authored-by: Logan Mosier &lt;logmosier@gmail.com&gt;
Co-authored-by: Roxane Fruytier &lt;roxane.fruytier@hotmail.com&gt;
</content>
</entry>
<entry>
<title>Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obk</title>
<updated>2021-02-20T10:20:42+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-02-20T10:20:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e7c23ab933ebc1f205c3b59f4ebc85d40f67d404'/>
<id>urn:sha1:e7c23ab933ebc1f205c3b59f4ebc85d40f67d404</id>
<content type='text'>
Pass large interpreter types by reference, not value

r? `@ghost`
</content>
</entry>
<entry>
<title>Reduce size of InterpErrorInfo to 8 bytes</title>
<updated>2021-02-17T07:57:06+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-02-14T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e190f0d974bc0cc43cc41b2d9c9f963b6af2ec50'/>
<id>urn:sha1:e190f0d974bc0cc43cc41b2d9c9f963b6af2ec50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass MPlaceTy by reference not value</title>
<updated>2021-02-16T22:52:05+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-02-15T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d06a2a368df2d15cd4e9c3e1c3e8c86727307502'/>
<id>urn:sha1:d06a2a368df2d15cd4e9c3e1c3e8c86727307502</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass ImmTy by reference not value</title>
<updated>2021-02-16T22:52:05+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-02-15T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5888556efe102f855f273cd1a7b343fe08d8fc76'/>
<id>urn:sha1:5888556efe102f855f273cd1a7b343fe08d8fc76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass OpTy by reference not value</title>
<updated>2021-02-16T22:52:05+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-02-15T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e915cf45dc48e90653081f9d760a7f4f803ce428'/>
<id>urn:sha1:e915cf45dc48e90653081f9d760a7f4f803ce428</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validation: fix invalid-fn-ptr error message</title>
<updated>2021-02-16T08:58:35+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2021-02-16T08:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=897cb610767741c0f49ff1e68cda41b521186003'/>
<id>urn:sha1:897cb610767741c0f49ff1e68cda41b521186003</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CTFE validation: catch ReadPointerAsBytes and better error</title>
<updated>2021-02-13T13:58:31+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2021-02-13T13:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6dcb3de54825155208dec3b38fe627852ad3471'/>
<id>urn:sha1:d6dcb3de54825155208dec3b38fe627852ad3471</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix ICE with `ReadPointerAsBytes` validation error</title>
<updated>2021-01-18T19:51:18+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-01-11T03:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=def0e9b8a495fa2a44e1d2cd948f7d4b6d81344f'/>
<id>urn:sha1:def0e9b8a495fa2a44e1d2cd948f7d4b6d81344f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obk</title>
<updated>2020-12-30T20:56:56+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2020-12-30T20:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=067f1b7030e48640d49dc3fbdf1a7da5c40c77b0'/>
<id>urn:sha1:067f1b7030e48640d49dc3fbdf1a7da5c40c77b0</id>
<content type='text'>
Miri: make size/align_of_val work for dangling raw ptrs

This is needed for https://github.com/rust-lang/rust/issues/80365#issuecomment-752128105.

r? `@oli-obk`
</content>
</entry>
</feed>
