<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_metadata/src/rmeta/decoder, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T16:36:15+00:00</updated>
<entry>
<title>Make `def_path_hash_to_def_id` not panic when passed an invalid hash</title>
<updated>2025-09-26T16:36:15+00:00</updated>
<author>
<name>Li-yao Xia</name>
<email>lysxia@gmail.com</email>
</author>
<published>2025-09-26T16:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0e0d4b68d38a92c19f42d3003074b5b6e7b65c8'/>
<id>urn:sha1:c0e0d4b68d38a92c19f42d3003074b5b6e7b65c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect struct construction with private field in field with default</title>
<updated>2025-08-10T19:15:18+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-01-21T21:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=464a6b1b4af28f7b2d1adf051bad3f182e23b88e'/>
<id>urn:sha1:464a6b1b4af28f7b2d1adf051bad3f182e23b88e</id>
<content type='text'>
When trying to construct a struct that has a public field of a private type, suggest using `..` if that field has a default value.

```
error[E0603]: struct `Priv1` is private
  --&gt; $DIR/non-exhaustive-ctor.rs:25:39
   |
LL |     let _ = S { field: (), field1: m::Priv1 {} };
   |                            ------     ^^^^^ private struct
   |                            |
   |                            while setting this field
   |
note: the struct `Priv1` is defined here
  --&gt; $DIR/non-exhaustive-ctor.rs:14:4
   |
LL |    struct Priv1 {}
   |    ^^^^^^^^^^^^
help: the field `field1` you're trying to set has a default value, you can use `..` to use it
   |
LL |     let _ = S { field: (), .. };
   |                            ~~
```
</content>
</entry>
<entry>
<title>rustc_metadata: remove unused private trait impls</title>
<updated>2025-08-08T15:19:09+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-08-08T15:11:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dbc6f5836c798ceea7518696a1cb72b8f602df76'/>
<id>urn:sha1:dbc6f5836c798ceea7518696a1cb72b8f602df76</id>
<content type='text'>
</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>Save names of used extern crates</title>
<updated>2025-07-28T12:34:03+00:00</updated>
<author>
<name>Kornel</name>
<email>kornel@geekhood.net</email>
</author>
<published>2025-07-15T09:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a0f97604777cbdb0ea027e6ca741cc0b13e64c9'/>
<id>urn:sha1:8a0f97604777cbdb0ea027e6ca741cc0b13e64c9</id>
<content type='text'>
Tracks association between `self.sess.opts.externs` (aliases in `--extern alias=rlib`) and resolved `CrateNum`

Intended to allow Rustdoc match the aliases in `--extern-html-root-url`

Force-injected extern crates aren't included, since they're meant for the linker only
</content>
</entry>
<entry>
<title>Clarify update_extern_crate</title>
<updated>2025-07-28T12:34:03+00:00</updated>
<author>
<name>Kornel</name>
<email>kornel@geekhood.net</email>
</author>
<published>2025-07-03T12:41:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=671e083391df7d7ea3b70c8030be578d17b5743b'/>
<id>urn:sha1:671e083391df7d7ea3b70c8030be578d17b5743b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolve: Merge `NameBindingKind::Module` into `NameBindingKind::Res`</title>
<updated>2025-07-16T05:28:17+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-07-04T19:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=babe2c0d0f091f5ea9935176b478ea45b152e49e'/>
<id>urn:sha1:babe2c0d0f091f5ea9935176b478ea45b152e49e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>query RPITIT in a trait or impl</title>
<updated>2025-07-12T18:52:13+00:00</updated>
<author>
<name>bohan</name>
<email>bohan-zhang@foxmail.com</email>
</author>
<published>2025-07-12T18:52:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=47e15d90e13b5238117971298a3573ddebd87a40'/>
<id>urn:sha1:47e15d90e13b5238117971298a3573ddebd87a40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split exported_symbols for generic and non-generic symbols</title>
<updated>2025-06-27T09:34:20+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-06-25T14:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=753c73a34961ae3c431dbb76afbfe48b81d93c90'/>
<id>urn:sha1:753c73a34961ae3c431dbb76afbfe48b81d93c90</id>
<content type='text'>
This reduces metadata decoder overhead during the monomorphization collector.
</content>
</entry>
<entry>
<title>cstore: Use IndexSet as backing store for postorder dependencies</title>
<updated>2025-05-29T11:02:20+00:00</updated>
<author>
<name>Piotr Osiewicz</name>
<email>24362066+osiewicz@users.noreply.github.com</email>
</author>
<published>2025-05-29T10:45:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b3be2599a9523a93bf7cf5d5b84523a8173c419'/>
<id>urn:sha1:9b3be2599a9523a93bf7cf5d5b84523a8173c419</id>
<content type='text'>
&lt;rustc_metadata::creader::CStore&gt;::push_dependencies_in_postorder showed up in new benchmarks from https://github.com/rust-lang/rustc-perf/pull/2143, hence I gave it a shot to remove an obvious O(n) there.
</content>
</entry>
</feed>
