<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_resolve, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-02T05:09:31+00:00</updated>
<entry>
<title>Auto merge of #129183 - estebank:cfg-visitor, r=davidtwco</title>
<updated>2025-08-02T05:09:31+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-08-02T05:09:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=889701db1ff614160314734fe4138c2f820a95bb'/>
<id>urn:sha1:889701db1ff614160314734fe4138c2f820a95bb</id>
<content type='text'>
Detect more `cfg`d out items in resolution errors

Use a visitor to collect *all* items (including those nested) that were stripped behind a `cfg` condition.

```
error[E0425]: cannot find function `f` in this scope
  --&gt; $DIR/nested-cfg-attrs.rs:4:13
   |
LL | fn main() { f() }
   |             ^ not found in this scope
   |
note: found an item that was configured out
  --&gt; $DIR/nested-cfg-attrs.rs:2:4
   |
LL | fn f() {}
   |    ^
note: the item is gated here
  --&gt; $DIR/nested-cfg-attrs.rs:1:35
   |
LL | #[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))]
   |                                   ^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>Tweak rendering of cfg'd out item</title>
<updated>2025-08-01T23:58:15+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-08-01T23:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b24c4bf23df8ae5c53669e3209b9f3074769b69'/>
<id>urn:sha1:4b24c4bf23df8ae5c53669e3209b9f3074769b69</id>
<content type='text'>
```
error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner`
  --&gt; $DIR/diagnostics-cross-crate.rs:18:23
   |
LL |     cfged_out::inner::doesnt_exist::hello();
   |                       ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner`
   |
note: found an item that was configured out
  --&gt; $DIR/auxiliary/cfged_out.rs:6:13
   |
LL |     #[cfg(false)]
   |           ----- the item is gated here
LL |     pub mod doesnt_exist {
   |             ^^^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>tiny cleanup</title>
<updated>2025-08-01T22:11:45+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-08-01T22:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77f75f91c5822c3c83f55317b76330153859a12a'/>
<id>urn:sha1:77f75f91c5822c3c83f55317b76330153859a12a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect more `cfg`d out items in resolution errors</title>
<updated>2025-08-01T21:50:36+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-08-17T05:45:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=adcda6ca9a6d27c04399e3efe1c67fc6ff04d997'/>
<id>urn:sha1:adcda6ca9a6d27c04399e3efe1c67fc6ff04d997</id>
<content type='text'>
Use a visitor to collect *all* items (including those nested) that were stripped behind a `cfg` condition.

```
error[E0425]: cannot find function `f` in this scope
  --&gt; $DIR/nested-cfg-attrs.rs:4:13
   |
LL | fn main() { f() }
   |             ^ not found in this scope
   |
note: found an item that was configured out
  --&gt; $DIR/nested-cfg-attrs.rs:2:4
   |
LL | fn f() {}
   |    ^
note: the item is gated here
  --&gt; $DIR/nested-cfg-attrs.rs:1:35
   |
LL | #[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))]
   |                                   ^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>remove rustc_attr_data_structures</title>
<updated>2025-07-31T12:19:27+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-07-31T09:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645'/>
<id>urn:sha1:e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move `ResolverOutputs` out of `rustc_middle`.</title>
<updated>2025-07-31T01:50:23+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-07-29T22:38:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e83c8cb26cd068cb23ca079d2992a08bed240385'/>
<id>urn:sha1:e83c8cb26cd068cb23ca079d2992a08bed240385</id>
<content type='text'>
It's not used in `rustc_middle`, and `rustc_resolve` is a better place
for it.
</content>
</entry>
<entry>
<title>Rollup merge of #144605 - LorrensP-2158466:cache-extern-prelude, r=petrochenkov</title>
<updated>2025-07-29T22:55:20+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-07-29T22:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0912d66c7f98cac00483bad44495bc5411d8ca30'/>
<id>urn:sha1:0912d66c7f98cac00483bad44495bc5411d8ca30</id>
<content type='text'>
Resolve: cachify `ExternPreludeEntry.binding` through a `Cell`

Provides interior mutability to the `binding` field of `ExternPreludeEntry` as this field behaves like a cache. Per [zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion/near/531390914).

A little preparatory work for batched import resolution, which is part of [#gsoc &gt; Project: Parallel Macro Expansion](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion).

r? `@petrochenkov`
</content>
</entry>
<entry>
<title>"Cachify" `ExternPreludeEntry.binding` through a `Cell`.</title>
<updated>2025-07-29T13:47:32+00:00</updated>
<author>
<name>LorrensP-2158466</name>
<email>lorrens.pantelis@student.uhasselt.be</email>
</author>
<published>2025-07-28T19:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c39b4479ce6f33604000b9ffdc91d2e8e115cb41'/>
<id>urn:sha1:c39b4479ce6f33604000b9ffdc91d2e8e115cb41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make resolve_fn_signature responsible for its own rib.</title>
<updated>2025-07-29T00:33:21+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-07-04T19:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be9d3bcfed2df9926f620af84bde1d687a9f6962'/>
<id>urn:sha1:be9d3bcfed2df9926f620af84bde1d687a9f6962</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #144469 - Kivooeo:chains-cleanup, r=SparrowLii</title>
<updated>2025-07-28T05:25:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-28T05:25:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d242a8bd5a73f633ba1ec5aacf19acf35a3c747d'/>
<id>urn:sha1:d242a8bd5a73f633ba1ec5aacf19acf35a3c747d</id>
<content type='text'>
Some `let chains` clean-up

Not sure if this kind of clean-up is welcoming because of size, but I decided to try out one

r? compiler
</content>
</entry>
</feed>
