<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_metadata/src/rmeta, 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>Don't store defaultness for inherent impl items</title>
<updated>2025-09-12T20:14:15+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-08-13T19:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b995a55cafcbcafec51aba6c567b32161fa9c2f1'/>
<id>urn:sha1:b995a55cafcbcafec51aba6c567b32161fa9c2f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split AssocContainer::{InherentImpl,TraitImpl}</title>
<updated>2025-09-12T20:14:15+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-08-13T20:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9615ec7d108399501d7d48f4aeac46561ef31fc8'/>
<id>urn:sha1:9615ec7d108399501d7d48f4aeac46561ef31fc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename AssocItemContainer -&gt; AssocContainer</title>
<updated>2025-09-12T20:10:30+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-08-13T19:14:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5590e55b03722fb7da2d965478deb4b5d62bf97a'/>
<id>urn:sha1:5590e55b03722fb7da2d965478deb4b5d62bf97a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect missing `derive` on unresolved attribute even when not imported</title>
<updated>2025-08-15T15:56:45+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-06-11T17:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8baab4cdf77979aed3ed7a5617df651c3e933405'/>
<id>urn:sha1:8baab4cdf77979aed3ed7a5617df651c3e933405</id>
<content type='text'>
```
error: cannot find attribute `sede` in this scope
  --&gt; $DIR/missing-derive-3.rs:20:7
   |
LL |     #[sede(untagged)]
   |       ^^^^
   |
help: the derive macros `Deserialize` and `Serialize` accept the similarly named `serde` attribute
   |
LL |     #[serde(untagged)]
   |         +

error: cannot find attribute `serde` in this scope
  --&gt; $DIR/missing-derive-3.rs:14:7
   |
LL |     #[serde(untagged)]
   |       ^^^^^
   |
note: `serde` is imported here, but it is a crate, not an attribute
  --&gt; $DIR/missing-derive-3.rs:4:1
   |
LL | extern crate serde;
   | ^^^^^^^^^^^^^^^^^^^
help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute
   |
LL + #[derive(Deserialize, Serialize)]
LL | enum B {
   |
```
</content>
</entry>
<entry>
<title>Switch to a bitflags `MacroKinds` to support macros with more than one kind</title>
<updated>2025-08-12T16:24:45+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-08T02:21:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b855bcdc9b0fafa5a4a4330e10655105daf27cb'/>
<id>urn:sha1:0b855bcdc9b0fafa5a4a4330e10655105daf27cb</id>
<content type='text'>
Review everything that uses `MacroKind`, and switch anything that could
refer to more than one kind to use `MacroKinds`.

Add a new `SyntaxExtensionKind::MacroRules` for `macro_rules!` macros,
using the concrete `MacroRulesMacroExpander` type, and have it track
which kinds it can handle. Eliminate the separate optional `attr_ext`,
now that a `SyntaxExtension` can handle multiple macro kinds.

This also avoids the need to downcast when calling methods on
`MacroRulesMacroExpander`, such as `get_unused_rule`.

Integrate macro kind checking into name resolution's
`sub_namespace_match`, so that we only find a macro if it's the right
type, and eliminate the special-case hack for attributes.
</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>Auto merge of #145146 - fee1-dead-contrib:push-zmqrkurlzrxy, r=nnethercote</title>
<updated>2025-08-09T23:27:55+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-08-09T23:27:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0'/>
<id>urn:sha1:41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0</id>
<content type='text'>
remove `P`

Previous work: rust-lang/rust#141603
MCP: https://github.com/rust-lang/compiler-team/issues/878

cc `@nnethercote`
</content>
</entry>
<entry>
<title>remove `P`</title>
<updated>2025-08-09T07:47:01+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-08-09T05:24:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad1113f87ef828b300ebb8fca397efd358580da3'/>
<id>urn:sha1:ad1113f87ef828b300ebb8fca397efd358580da3</id>
<content type='text'>
</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>
</feed>
