<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff, branch 1.59.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.59.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.59.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-09-01T22:47:41+00:00</updated>
<entry>
<title>Fix drop handling for `if let` expressions</title>
<updated>2021-09-01T22:47:41+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2021-09-01T21:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff8c0ef0e47639b32fdba062851a1367a9cc9ae2'/>
<id>urn:sha1:ff8c0ef0e47639b32fdba062851a1367a9cc9ae2</id>
<content type='text'>
MIR lowering for `if let` expressions is now more complicated now that
`if let` exists in HIR. This PR adds a scope for the variables bound in
an `if let` expression and then uses an approach similar to how we
handle loops to ensure that we reliably drop the correct variables.
</content>
</entry>
<entry>
<title>Revert "Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk""</title>
<updated>2021-08-20T02:28:32+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-08-20T02:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ea536d99b6cf84d52d066f70192844c34ecf650'/>
<id>urn:sha1:6ea536d99b6cf84d52d066f70192844c34ecf650</id>
<content type='text'>
This reverts commit 8e11199a153218c13a419df37a9bb675181cccb7.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk"</title>
<updated>2021-08-16T03:44:34+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-08-15T17:25:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e11199a153218c13a419df37a9bb675181cccb7'/>
<id>urn:sha1:8e11199a153218c13a419df37a9bb675181cccb7</id>
<content type='text'>
This reverts commit 8007b506ac5da629f223b755f5a5391edd5f6d01, reversing
changes made to e55c13e1099b78b1a485202fabc9c1b10b1f1d15.
</content>
</entry>
<entry>
<title>Run RemoveZsts at mir-opt-level=1</title>
<updated>2021-08-07T15:20:46+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-03-23T16:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=585e4ae6e1ab354fb2f4e3290b3b7302953f7d89'/>
<id>urn:sha1:585e4ae6e1ab354fb2f4e3290b3b7302953f7d89</id>
<content type='text'>
Effectively reverts commit 6960bc9696b05b15d8d89ece2fef14e6e62a43fc.
</content>
</entry>
<entry>
<title>mir-opt bless for Size field being removed from Allocation</title>
<updated>2021-05-17T11:30:25+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2021-05-16T17:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d71c67423f32a091b8632ed4f533d5dacd4e67f'/>
<id>urn:sha1:5d71c67423f32a091b8632ed4f533d5dacd4e67f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement new panic!() behaviour for Rust 2021.</title>
<updated>2021-01-25T12:48:11+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2021-01-09T15:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5414f9a9f38e2598b3401d05d0e7b44af65a4a0'/>
<id>urn:sha1:d5414f9a9f38e2598b3401d05d0e7b44af65a4a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reintroduce hir::ExprKind::If</title>
<updated>2021-01-07T21:54:12+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2021-01-01T18:38:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f85fc264fecf5ab8b16c152dde8a440055323424'/>
<id>urn:sha1:f85fc264fecf5ab8b16c152dde8a440055323424</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Combination of commits</title>
<updated>2020-12-03T17:50:10+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2020-12-01T07:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=def932ca865b86a5057517d8a0e27c0ca72a0815'/>
<id>urn:sha1:def932ca865b86a5057517d8a0e27c0ca72a0815</id>
<content type='text'>
Fixes multiple issue with counters, with simplification

  Includes a change to the implicit else span in ast_lowering, so coverage
  of the implicit else no longer spans the `then` block.

  Adds coverage for unused closures and async function bodies.

  Fixes: #78542

Adding unreachable regions for known MIR missing from coverage map

Cleaned up PR commits, and removed link-dead-code requirement and tests

  Coverage no longer depends on Issue #76038 (`-C link-dead-code` is
  no longer needed or enforced, so MSVC can use the same tests as
  Linux and MacOS now)

Restrict adding unreachable regions to covered files

  Improved the code that adds coverage for uncalled functions (with MIR
  but not-codegenned) to avoid generating coverage in files not already
  included in the files with covered functions.

Resolved last known issue requiring --emit llvm-ir workaround

  Fixed bugs in how unreachable code spans were added.
</content>
</entry>
<entry>
<title>pretty: trim paths of unique symbols</title>
<updated>2020-09-02T19:26:37+00:00</updated>
<author>
<name>Dan Aloni</name>
<email>alonid@gmail.com</email>
</author>
<published>2020-09-02T07:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07e7823c01be1733df2480de19fbbe6b8e9384cf'/>
<id>urn:sha1:07e7823c01be1733df2480de19fbbe6b8e9384cf</id>
<content type='text'>
If a symbol name can only be imported from one place for a type, and
as long as it was not glob-imported anywhere in the current crate, we
can trim its printed path and print only the name.

This has wide implications on error messages with types, for example,
shortening `std::vec::Vec` to just `Vec`, as long as there is no other
`Vec` importable anywhere.

This adds a new '-Z trim-diagnostic-paths=false' option to control this
feature.

On the good path, with no diagnosis printed, we should try to avoid
issuing this query, so we need to prevent trimmed_def_paths query on
several cases.

This change also relies on a previous commit that differentiates
between `Debug` and `Display` on various rustc types, where the latter
is trimmed and presented to the user and the former is not.
</content>
</entry>
<entry>
<title>Suppress "const" prefix of FnDef in MIR dump</title>
<updated>2020-08-21T00:36:49+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-08-20T09:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4c017a18487145cd5fdcfda741acc6a2a00bef7'/>
<id>urn:sha1:c4c017a18487145cd5fdcfda741acc6a2a00bef7</id>
<content type='text'>
</content>
</entry>
</feed>
