<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_resolve/src/lib.rs, branch 1.88.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.88.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.88.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-09T03:57:49+00:00</updated>
<entry>
<title>Remove `Ident::empty`.</title>
<updated>2025-05-09T03:57:49+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-24T01:56:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0984db553ddd25c0d16ef68b91bd731825309ac5'/>
<id>urn:sha1:0984db553ddd25c0d16ef68b91bd731825309ac5</id>
<content type='text'>
All uses have been removed. And it's nonsensical: an identifier by
definition has at least one char.

The commits adds an is-non-empty assertion to `Ident::new` to enforce
this, and converts some `Ident` constructions to use `Ident::new`.
Adding the assertion requires making `Ident::new` and
`Ident::with_dummy_span` non-const, which is no great loss.

The commit amends a couple of places that do path splitting to ensure no
empty identifiers are created.
</content>
</entry>
<entry>
<title>Auto merge of #131160 - ismailarilik:handle-potential-query-instability-lint-for-rustc-middle, r=oli-obk</title>
<updated>2025-05-06T01:36:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-05-06T01:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7295b08a17d1107155acd4b552069e3705b0ab1f'/>
<id>urn:sha1:7295b08a17d1107155acd4b552069e3705b0ab1f</id>
<content type='text'>
Handle `rustc_middle` cases of `rustc::potential_query_instability` lint

This PR removes `#![allow(rustc::potential_query_instability)]` line from [`compiler/rustc_middle/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_middle/src/lib.rs#L29) and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors.

A somewhat tracking issue: https://github.com/rust-lang/rust/issues/84447

r? `@compiler-errors`
</content>
</entry>
<entry>
<title>Handle rustc_middle cases of rustc::potential_query_instability lint</title>
<updated>2025-05-05T13:36:04+00:00</updated>
<author>
<name>ismailarilik</name>
<email>arilik.ismail@gmail.com</email>
</author>
<published>2025-05-05T13:36:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2426dbcde20d1c34a50ff1cce9df6215b66e3d1b'/>
<id>urn:sha1:2426dbcde20d1c34a50ff1cce9df6215b66e3d1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obk</title>
<updated>2025-05-05T11:50:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-05-05T11:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=243c5a35e18b2634892fe7091d5ee888a18f77f5'/>
<id>urn:sha1:243c5a35e18b2634892fe7091d5ee888a18f77f5</id>
<content type='text'>
Remove global `next_disambiguator` state and handle it with a `DisambiguatorState` type

This removes `Definitions.next_disambiguator` as it doesn't guarantee deterministic def paths when `create_def` is called in parallel. Instead a new `DisambiguatorState` type is passed as a mutable reference to `create_def` to help create unique def paths. `create_def` calls with distinct  `DisambiguatorState` instances must ensure that that the def paths are unique without its help.

Anon associated types did rely on this global state for uniqueness and are changed to use (method they're defined in + their position in the method return type) as the `DefPathData` to ensure uniqueness. This also means that the method they're defined in appears in error messages, which is nicer.

`DefPathData::NestedStatic` is added to use for nested data inside statics instead of reusing `DefPathData::AnonConst` to avoid conflicts with those.

cc `@oli-obk`
</content>
</entry>
<entry>
<title>resolve: Support imports of associated types and glob imports from traits</title>
<updated>2025-05-02T12:59:38+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-03-19T13:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3eee3dad5c8aa36a88d6ed2e927c53f2ba174819'/>
<id>urn:sha1:3eee3dad5c8aa36a88d6ed2e927c53f2ba174819</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify `LazyAttrTokenStream`.</title>
<updated>2025-04-29T21:10:56+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-29T01:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=298c56f4ba604d3c7025a44fe7bfe1134d6b56d6'/>
<id>urn:sha1:298c56f4ba604d3c7025a44fe7bfe1134d6b56d6</id>
<content type='text'>
This commit does the following.
- Changes it from `Lrc&lt;Box&lt;dyn ToAttrTokenStream&gt;&gt;` to
  `Lrc&lt;LazyAttrTokenStreamInner&gt;`.
- Reworks `LazyAttrTokenStreamImpl` as `LazyAttrTokenStreamInner`, which
  is a two-variant enum.
- Removes the `ToAttrTokenStream` trait and the two impls of it.

The recursion limit must be increased in some crates otherwise rustdoc
aborts.
</content>
</entry>
<entry>
<title>Remove global `next_disambiguator` state and handle it with a `DisambiguatorState` type</title>
<updated>2025-04-29T11:22:38+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-04-29T10:59:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e561ec0e03c4991938e0d3d39766fa74d86f7448'/>
<id>urn:sha1:e561ec0e03c4991938e0d3d39766fa74d86f7448</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make #![feature(let_chains)] bootstrap conditional in compiler/</title>
<updated>2025-04-23T14:40:30+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2025-04-23T13:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7493e1cdf64b381f7eb910da982fcbbad7d64769'/>
<id>urn:sha1:7493e1cdf64b381f7eb910da982fcbbad7d64769</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #139084 - petrochenkov:transpaque, r=davidtwco</title>
<updated>2025-04-16T22:14:24+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-04-16T22:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9842698be52739aa843f03419976e53d9de1f0b7'/>
<id>urn:sha1:9842698be52739aa843f03419976e53d9de1f0b7</id>
<content type='text'>
hygiene: Rename semi-transparent to semi-opaque

"Semi-transparent" is just too damn long for a name, especially when used multiple times on a single line, it bothered me when working on #139083.

An optimist sees a macro as semi-opaque, a pessimist sees it as semi-transparent.
Or is it the other way round?
</content>
</entry>
<entry>
<title>Rollup merge of #139662 - nnethercote:tweak-DefPathData, r=compiler-errors</title>
<updated>2025-04-11T19:21:01+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-04-11T19:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2b54f9bfb16824325d0bba350ae90a0dec630dd8'/>
<id>urn:sha1:2b54f9bfb16824325d0bba350ae90a0dec630dd8</id>
<content type='text'>
Tweak `DefPathData`

Some improvements in and around `DefPathData`, following on from #137977.

r? `@spastorino`
</content>
</entry>
</feed>
