<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/consts/const-eval, branch 1.46.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.46.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.46.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-11T15:53:06+00:00</updated>
<entry>
<title>Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung</title>
<updated>2020-07-11T15:53:06+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-11T15:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90f1d724c8d9b364b4b0c81817484afa04c73009'/>
<id>urn:sha1:90f1d724c8d9b364b4b0c81817484afa04c73009</id>
<content type='text'>
Stabilize `transmute` in constants and statics but not const fn

cc #53605 (leaving issue open so we can add `transmute` to `const fn` later)

Previous attempt: #64011

r? @RalfJung

cc @rust-lang/wg-const-eval
</content>
</entry>
<entry>
<title>Stabilize `transmute` in constants and statics but not const fn</title>
<updated>2020-07-11T07:22:17+00:00</updated>
<author>
<name>Oliver Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2019-08-30T00:01:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd872be5da0887d800ae9a001ec212c7161f661c'/>
<id>urn:sha1:dd872be5da0887d800ae9a001ec212c7161f661c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #73989 - RalfJung:ub-enum-test, r=oli-obk</title>
<updated>2020-07-11T06:26:30+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-11T06:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ef3dc09fa7078d36ea5831ee9a3eb5c335cdb2f3'/>
<id>urn:sha1:ef3dc09fa7078d36ea5831ee9a3eb5c335cdb2f3</id>
<content type='text'>
adjust ub-enum test to be endianess-independent

@cuviper noted that our test fails on "other" endianess systems (I never know which is which^^), so let's fix that.
</content>
</entry>
<entry>
<title>const validation: add test for uninit bool</title>
<updated>2020-07-05T11:48:06+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-07-05T11:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=751b594cc843a28c660a662db1a822a759af9603'/>
<id>urn:sha1:751b594cc843a28c660a662db1a822a759af9603</id>
<content type='text'>
</content>
</entry>
<entry>
<title>catch errors more locally around read_discriminant</title>
<updated>2020-07-05T11:40:27+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-07-05T11:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3fc4f0420b642a0e0041bb13492df2d4a68ae80'/>
<id>urn:sha1:c3fc4f0420b642a0e0041bb13492df2d4a68ae80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>adjust ub-enum test to be endianess-independent</title>
<updated>2020-07-03T11:22:54+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-07-03T10:12:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb9fa5ba3ee08171e7d2ff35d28ec0dd93b0287b'/>
<id>urn:sha1:fb9fa5ba3ee08171e7d2ff35d28ec0dd93b0287b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2020-06-28T17:08:12+00:00</updated>
<author>
<name>Dylan MacKenzie</name>
<email>ecstaticmorse@gmail.com</email>
</author>
<published>2020-06-26T00:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d84f0c8d329017c95cbf73418be8e804b0a10472'/>
<id>urn:sha1:d84f0c8d329017c95cbf73418be8e804b0a10472</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2020-06-28T17:08:10+00:00</updated>
<author>
<name>Dylan MacKenzie</name>
<email>ecstaticmorse@gmail.com</email>
</author>
<published>2020-05-21T19:49:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6139f76c072e281a77a5eac9ba57a0eb3a1936f'/>
<id>urn:sha1:d6139f76c072e281a77a5eac9ba57a0eb3a1936f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Show the values and computation that would overflow a const evaluation or propagation</title>
<updated>2020-06-26T08:08:52+00:00</updated>
<author>
<name>Oliver Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2020-06-19T16:57:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=819cde5dabd90dab1fb462cd713457421d0ebd36'/>
<id>urn:sha1:819cde5dabd90dab1fb462cd713457421d0ebd36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #73515 - christianpoveda:livedrop-diagnostics, r=oli-obk</title>
<updated>2020-06-23T07:34:00+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-06-23T07:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f9a6edc095048f29829d7e501008140fdfe54fd'/>
<id>urn:sha1:0f9a6edc095048f29829d7e501008140fdfe54fd</id>
<content type='text'>
Add second message for LiveDrop errors

This is an attempt to fix https://github.com/rust-lang/rust/issues/72907 by adding a second message to the `LiveDrop` diagnostics. Changing from this
```
error[E0493]: destructors cannot be evaluated at compile-time
 --&gt; src/lib.rs:7:9
  |
7 |     let mut always_returned = None;
  |         ^^^^^^^^^^^^^^^^^^^ constants cannot evaluate destructors

error: aborting due to previous error
```
to this
```
error[E0493]: destructors cannot be evaluated at compile-time
  --&gt; foo.rs:6:9
   |
6  |     let mut always_returned = None;
   |         ^^^^^^^^^^^^^^^^^^^ constants cannot evaluate destructors
...
10 |         always_returned = never_returned;
   |         --------------- value is dropped here

error: aborting due to previous error
```
r? @RalfJung @ecstatic-morse
</content>
</entry>
</feed>
