<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_borrowck/src, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-19T15:10:26+00:00</updated>
<entry>
<title>Remove unnecessary param-env from lexical region resolution and fully structural relations</title>
<updated>2023-12-19T15:10:26+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-12-18T21:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=009cd9c815cd628d973c6247d474f16559d9d5a8'/>
<id>urn:sha1:009cd9c815cd628d973c6247d474f16559d9d5a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename many `DiagCtxt` arguments.</title>
<updated>2023-12-18T05:06:22+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T23:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3'/>
<id>urn:sha1:f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Session::span_diagnostic` as `Session::dcx`.</title>
<updated>2023-12-18T05:06:21+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T19:21:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09af8a667c0fa456bbe62fa462f4b0f42f2845ec'/>
<id>urn:sha1:09af8a667c0fa456bbe62fa462f4b0f42f2845ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Handler` as `DiagCtxt`.</title>
<updated>2023-12-18T05:06:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T10:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cde19c016e4608288a02f5bdec0b5330d474c26f'/>
<id>urn:sha1:cde19c016e4608288a02f5bdec0b5330d474c26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>banish hir::GenericBound::LangItemTrait</title>
<updated>2023-12-15T16:17:27+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-11-23T04:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc010de26b998e02323955914f0df6614f29816b'/>
<id>urn:sha1:fc010de26b998e02323955914f0df6614f29816b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #118933 - nnethercote:cleanup-errors-even-more, r=compiler-errors</title>
<updated>2023-12-15T00:07:48+00:00</updated>
<author>
<name>Jubilee</name>
<email>46493976+workingjubilee@users.noreply.github.com</email>
</author>
<published>2023-12-15T00:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e872b7cd8cd28314b9426e13ac586dad6fc9c2e'/>
<id>urn:sha1:9e872b7cd8cd28314b9426e13ac586dad6fc9c2e</id>
<content type='text'>
Cleanup errors handlers even more

A sequel to #118587.

r? `@compiler-errors`
</content>
</entry>
<entry>
<title>Split `Handler::emit_diagnostic` in two.</title>
<updated>2023-12-14T23:13:12+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-14T03:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a7841251115c79fe7e1c12e2e5d637e19ad940a'/>
<id>urn:sha1:9a7841251115c79fe7e1c12e2e5d637e19ad940a</id>
<content type='text'>
Currently, `emit_diagnostic` takes `&amp;mut self`.

This commit changes it so `emit_diagnostic` takes `self` and the new
`emit_diagnostic_without_consuming` function takes `&amp;mut self`.

I find the distinction useful. The former case is much more common, and
avoids a bunch of `mut` and `&amp;mut` occurrences. We can also restrict the
latter with `pub(crate)` which is nice.
</content>
</entry>
<entry>
<title>consistently use "next solver" instead of "new solver"</title>
<updated>2023-12-14T14:22:37+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2023-12-14T13:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=094707087171bb698d47aba807cd7d78c58e63ab'/>
<id>urn:sha1:094707087171bb698d47aba807cd7d78c58e63ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update use of feature flags</title>
<updated>2023-12-14T14:22:37+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2023-12-14T12:11:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11d16c4082be25fd42b48b37e199f18b4dfe51ed'/>
<id>urn:sha1:11d16c4082be25fd42b48b37e199f18b4dfe51ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move some methods from `tcx.hir()` to `tcx`</title>
<updated>2023-12-12T14:40:29+00:00</updated>
<author>
<name>zetanumbers</name>
<email>dariasukhonina@gmail.com</email>
</author>
<published>2023-12-01T13:28:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24f009c5e55d18c12563dd74681ca33b8a349936'/>
<id>urn:sha1:24f009c5e55d18c12563dd74681ca33b8a349936</id>
<content type='text'>
Renamings:
- find -&gt; opt_hir_node
- get -&gt; hir_node
- find_by_def_id -&gt; opt_hir_node_by_def_id
- get_by_def_id -&gt; hir_node_by_def_id

Fix rebase changes using removed methods

Use `tcx.hir_node_by_def_id()` whenever possible in compiler

Fix clippy errors

Fix compiler

Apply suggestions from code review

Co-authored-by: Vadim Petrochenkov &lt;vadim.petrochenkov@gmail.com&gt;

Add FIXME for `tcx.hir()` returned type about its removal

Simplify with with `tcx.hir_node_by_def_id`
</content>
</entry>
</feed>
