<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_pattern_analysis/src/constructor.rs, branch 1.81.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.81.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.81.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-07-19T18:52:07+00:00</updated>
<entry>
<title>Avoid ref when using format! in compiler</title>
<updated>2024-07-19T18:52:07+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2024-07-19T15:51:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aef0e346de744faeaa522b9c08562bb3e1814adc'/>
<id>urn:sha1:aef0e346de744faeaa522b9c08562bb3e1814adc</id>
<content type='text'>
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &amp;variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&amp;` misuse.
</content>
</entry>
<entry>
<title>Replace `f16` and `f128` pattern matching stubs with real implementations</title>
<updated>2024-06-23T09:28:42+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-03-26T10:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fb6c19c961369b98e2dd9466c1a83ac2d783ae2'/>
<id>urn:sha1:6fb6c19c961369b98e2dd9466c1a83ac2d783ae2</id>
<content type='text'>
This section of code depends on `rustc_apfloat` rather than our internal
types, so this is one potential ICE that we should be able to melt now.

This also fixes some missing range and match handling in `rustc_middle`.
</content>
</entry>
<entry>
<title>Fix union handling in exhaustiveness</title>
<updated>2024-03-31T22:01:46+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-31T21:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27704c7f9eea6e8ffaedac04ae1c932da7422fb7'/>
<id>urn:sha1:27704c7f9eea6e8ffaedac04ae1c932da7422fb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve debugging experience</title>
<updated>2024-03-31T21:12:20+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-29T18:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8cf2c0dc67d880e54be03ebb08f7f960c21bb794'/>
<id>urn:sha1:8cf2c0dc67d880e54be03ebb08f7f960c21bb794</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require enum indices to be contiguous</title>
<updated>2024-03-30T15:22:43+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-30T15:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1b8441899b87e52d0b368f55fc921ec668cde1f'/>
<id>urn:sha1:e1b8441899b87e52d0b368f55fc921ec668cde1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve the `WitnessPat: Debug` impl</title>
<updated>2024-03-19T01:22:43+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-04T23:16:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4487ad391503fa109506c40aeba377fda0d97dd'/>
<id>urn:sha1:e4487ad391503fa109506c40aeba377fda0d97dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #121823 - Nadrieril:never-witnesses, r=compiler-errors</title>
<updated>2024-03-18T21:24:36+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-03-18T21:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d3dcfaadea54c1a606787f3179b378af1ad0b0c'/>
<id>urn:sha1:2d3dcfaadea54c1a606787f3179b378af1ad0b0c</id>
<content type='text'>
never patterns: suggest `!` patterns on non-exhaustive matches

When a match is non-exhaustive we now suggest never patterns whenever it makes sense.

r? ``@compiler-errors``
</content>
</entry>
<entry>
<title>Rollup merge of #122437 - Nadrieril:no-after-max, r=compiler-errors</title>
<updated>2024-03-13T19:01:57+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-03-13T19:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5c2aa6dc6f78ce8cd65dd526ed8a84d2be425c1e'/>
<id>urn:sha1:5c2aa6dc6f78ce8cd65dd526ed8a84d2be425c1e</id>
<content type='text'>
pattern analysis: remove `MaybeInfiniteInt::JustAfterMax`

It was inherited from before half-open ranges, but it doesn't pull its weight anymore. We lose a tiny bit of diagnostic precision as can be seen in the test. I'm generally in favor of half-open ranges over explicit `x..=MAX` ranges anyway.
</content>
</entry>
<entry>
<title>Remove `MaybeInfiniteInt::JustAfterMax`</title>
<updated>2024-03-13T13:17:11+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-13T13:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4236785c72fdf04176716393c910b1fb011d15f'/>
<id>urn:sha1:c4236785c72fdf04176716393c910b1fb011d15f</id>
<content type='text'>
It was inherited from before half-open ranges, but it doesn't pull its
weight anymore. We lose a tiny bit of diagnostic precision.
</content>
</entry>
<entry>
<title>Rename `TypeCx` -&gt; `PatCx`</title>
<updated>2024-03-13T12:56:38+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-13T12:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4fc35c46ff70821a37fec5f7a4c36087704d9f23'/>
<id>urn:sha1:4fc35c46ff70821a37fec5f7a4c36087704d9f23</id>
<content type='text'>
</content>
</entry>
</feed>
