<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_borrowck/src, branch 1.80.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-06-06T11:50:19+00:00</updated>
<entry>
<title>Uplift TypeRelation and Relate</title>
<updated>2024-06-06T11:50:19+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-04T20:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91274c84b9f3790192219c71a8cb6908747beef4'/>
<id>urn:sha1:91274c84b9f3790192219c71a8cb6908747beef4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `Ty` to `mir::Const::Ty`</title>
<updated>2024-06-05T21:25:41+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2024-06-03T03:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60a5bebbe591f228bf83f3c48f5f60fe87dedaad'/>
<id>urn:sha1:60a5bebbe591f228bf83f3c48f5f60fe87dedaad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Basic removal of `Ty` from places (boring)</title>
<updated>2024-06-05T21:25:38+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2024-06-03T00:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=58feec9b85a18d26507dfe6d075fd128a1265888'/>
<id>urn:sha1:58feec9b85a18d26507dfe6d075fd128a1265888</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #125667 - oli-obk:taintify, r=TaKO8Ki</title>
<updated>2024-06-04T12:52:12+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-04T12:52:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5019bb608a465da3620956629a55d8007e78e98d'/>
<id>urn:sha1:5019bb608a465da3620956629a55d8007e78e98d</id>
<content type='text'>
Silence follow-up errors directly based on error types and regions

During type_of, we used to just return an error type if there were any errors encountered. This is problematic, because it means a struct declared as `struct Foo&lt;'static&gt;` will end up not finding any inherent or trait impls because those impl blocks' `Self` type will be `{type error}` instead of `Foo&lt;'re_error&gt;`. Now it's the latter, silencing nonsensical follow-up errors about `Foo` not having any methods.

Unfortunately that now allows for new follow-up errors, because borrowck treats `'re_error` as `'static`, causing nonsensical errors about non-error lifetimes not outliving `'static`. So what I also did was to just strip all outlives bounds that borrowck found, thus never letting it check them. There are probably more nuanced ways to do this, but I worried there would be other nonsensical errors if some outlives bounds were missing. Also from the test changes, it looked like an improvement everywhere.
</content>
</entry>
<entry>
<title>Nits and formatting</title>
<updated>2024-06-03T14:02:08+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-03T13:27:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a41c44f21c1a6fd96eb8d68fbdb298610443cff5'/>
<id>urn:sha1:a41c44f21c1a6fd96eb8d68fbdb298610443cff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add cycle errors to ScrubbedTraitError to remove a couple more calls to new_with_diagnostics</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-02T22:36:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e72c7f536bbdf3ed8a0071d28824c071c3722b5'/>
<id>urn:sha1:1e72c7f536bbdf3ed8a0071d28824c071c3722b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move FulfillmentErrorCode to rustc_trait_selection too</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T19:08:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27f5eccd1f433c9455d1a0d3e402c1fa2a2ce334'/>
<id>urn:sha1:27f5eccd1f433c9455d1a0d3e402c1fa2a2ce334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use ScrubbedTraitError in more places</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T19:00:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94a524ed1163f4876544366586dc1b87deb13e95'/>
<id>urn:sha1:94a524ed1163f4876544366586dc1b87deb13e95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Opt-in diagnostics reporting to avoid doing extra work in the new solver</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T18:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb0a70a5578be0ae164cb802898ea98d41e95f13'/>
<id>urn:sha1:eb0a70a5578be0ae164cb802898ea98d41e95f13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make TraitEngines generic over error</title>
<updated>2024-06-03T13:27:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-01T18:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54b2b7d460fd0847508b781219d380231c4fee72'/>
<id>urn:sha1:54b2b7d460fd0847508b781219d380231c4fee72</id>
<content type='text'>
</content>
</entry>
</feed>
