<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_resolve/src/lib.rs, branch 1.66.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.66.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.66.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-11-20T15:04:48+00:00</updated>
<entry>
<title>rustdoc: Resolve doc links in external traits having local impls</title>
<updated>2022-11-20T15:04:48+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-11-13T13:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ac1288230659628c68f90510678b8036585b3f3'/>
<id>urn:sha1:2ac1288230659628c68f90510678b8036585b3f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>privacy: Rename "accessibility levels" to "effective visibilities"</title>
<updated>2022-10-26T12:34:53+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-09-22T13:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34eb73c72d7e40d61ca2efa0dd1fedc89e21f0b8'/>
<id>urn:sha1:34eb73c72d7e40d61ca2efa0dd1fedc89e21f0b8</id>
<content type='text'>
And a couple of other naming tweaks

Related to https://github.com/rust-lang/rust/issues/48054
</content>
</entry>
<entry>
<title>rustc_middle: Rearrange resolver outputs structures slightly</title>
<updated>2022-10-25T11:42:29+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-10-25T10:45:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=919673ea03e2c376931161a9301a9d6f089f8984'/>
<id>urn:sha1:919673ea03e2c376931161a9301a9d6f089f8984</id>
<content type='text'>
</content>
</entry>
<entry>
<title>more dupe word typos</title>
<updated>2022-10-14T04:57:56+00:00</updated>
<author>
<name>Rageking8</name>
<email>tomleetyt@gmail.com</email>
</author>
<published>2022-10-13T16:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7122abaddf2cf10ce26f86305ff540ae5b38c097'/>
<id>urn:sha1:7122abaddf2cf10ce26f86305ff540ae5b38c097</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #102889 - petrochenkov:partres, r=cjgillot</title>
<updated>2022-10-11T16:59:50+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-10-11T16:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb6728339298a83cf18df7f941a57628be4cf6e8'/>
<id>urn:sha1:cb6728339298a83cf18df7f941a57628be4cf6e8</id>
<content type='text'>
rustc_hir: Less error-prone methods for accessing `PartialRes` resolution
</content>
</entry>
<entry>
<title>Rollup merge of #100387 - cjgillot:hygiene-trait-impl, r=petrochenkov</title>
<updated>2022-10-11T16:59:45+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-10-11T16:59:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d58ff7fe6d81a6fd7b8a09f720617f1e2c62819'/>
<id>urn:sha1:6d58ff7fe6d81a6fd7b8a09f720617f1e2c62819</id>
<content type='text'>
Check uniqueness of impl items by trait item when applicable.

When checking uniqueness of item names in impl blocks, we currently use the same definition of hygiene as for toplevel items.  This means that a plain item and one generated by a macro 2.0 do not collide.

This hygiene rule does not match with how impl items resolve to associated trait items. As a consequence, we misdiagnose the trait impls.

This PR proposes to consider that trait impl items are uses of the corresponding trait items during resolution, instead of checking for duplicates later. An error is emitted when a trait impl item is used twice.

There should be no stable breakage, since macros 2.0 are still unstable.

r? ``@petrochenkov``
cc ``@RalfJung``

Fixes https://github.com/rust-lang/rust/issues/71614.
</content>
</entry>
<entry>
<title>Report duplicate definitions in trait impls during resolution.</title>
<updated>2022-10-11T06:24:51+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-08-10T19:31:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=152cd6322655bb5173655cdf0781ca64c2a7602f'/>
<id>urn:sha1:152cd6322655bb5173655cdf0781ca64c2a7602f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_hir: Less error-prone methods for accessing `PartialRes` resolution</title>
<updated>2022-10-11T05:04:52+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-10-10T15:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a8f177772658a244e79a9aa2d48898a4e24c9ce'/>
<id>urn:sha1:1a8f177772658a244e79a9aa2d48898a4e24c9ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move lifetime resolution module to rustc_hir_analysis.</title>
<updated>2022-10-10T17:40:52+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-10-09T20:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a474ec50b7010d289d103242a63c806ed6f01c2e'/>
<id>urn:sha1:a474ec50b7010d289d103242a63c806ed6f01c2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Delay function resolution error until typeck</title>
<updated>2022-10-05T06:42:35+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-10-05T05:35:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=66c8c5ad1df9575ec02fe88b525405ba965c8c40'/>
<id>urn:sha1:66c8c5ad1df9575ec02fe88b525405ba965c8c40</id>
<content type='text'>
</content>
</entry>
</feed>
