<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_ast/src/node_id.rs, branch 1.80.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-11-22T07:38:17+00:00</updated>
<entry>
<title>Replace `no_ord_impl` with `orderable`.</title>
<updated>2023-11-22T07:38:17+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-11-21T06:35:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7060fc8327f457882823fcc1737a964407eed0d6'/>
<id>urn:sha1:7060fc8327f457882823fcc1737a964407eed0d6</id>
<content type='text'>
Similar to the previous commit, this replaces `newtype_index`'s opt-out
`no_ord_impl` attribute with the opt-in `orderable` attribute.
</content>
</entry>
<entry>
<title>Replace `custom_encodable` with `encodable`.</title>
<updated>2023-11-22T07:37:14+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-11-21T05:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ef9d4d0ed608b0493d66ffe8af2755529ce474c'/>
<id>urn:sha1:3ef9d4d0ed608b0493d66ffe8af2755529ce474c</id>
<content type='text'>
By default, `newtype_index!` types get a default `Encodable`/`Decodable`
impl. You can opt out of this with `custom_encodable`. Opting out is the
opposite to how Rust normally works with autogenerated (derived) impls.

This commit inverts the behaviour, replacing `custom_encodable` with
`encodable` which opts into the default `Encodable`/`Decodable` impl.
Only 23 of the 59 `newtype_index!` occurrences need `encodable`.

Even better, there were eight crates with a dependency on
`rustc_serialize` just from unused default `Encodable`/`Decodable`
impls. This commit removes that dependency from those eight crates.
</content>
</entry>
<entry>
<title>Various minor Idx-related tweaks</title>
<updated>2023-04-16T09:42:50+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-04-16T08:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c98895d9f20eec10993bf2c3f07a2f2945228e49'/>
<id>urn:sha1:c98895d9f20eec10993bf2c3f07a2f2945228e49</id>
<content type='text'>
Nothing particularly exciting here, but a couple of things I noticed as I was looking for more index conversions to simplify.
</content>
</entry>
<entry>
<title>A few small cleanups for `newtype_index`</title>
<updated>2022-12-18T20:47:28+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-18T20:47:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8bfd6450c7b61ffee0fd7e21b538d00018a0e47e'/>
<id>urn:sha1:8bfd6450c7b61ffee0fd7e21b538d00018a0e47e</id>
<content type='text'>
Remove the `..` from the body, only a few invocations used it and it's
inconsistent with rust syntax.

Use `;` instead of `,` between consts. As the Rust syntax gods inteded.
</content>
</entry>
<entry>
<title>Make `#[debug_format]` an attribute in `newtype_index`</title>
<updated>2022-12-18T20:37:38+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-18T20:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d679764fb6b84a5cb72f6a9c9fefce4c6b41f16c'/>
<id>urn:sha1:d679764fb6b84a5cb72f6a9c9fefce4c6b41f16c</id>
<content type='text'>
This removes the `custom` format functionality as its only user was
trivially migrated to using a normal format.

If a new use case for a custom formatting impl pops up, you can add it
back.
</content>
</entry>
<entry>
<title>rustc_error, rustc_private, rustc_ast: Switch to stable hash containers</title>
<updated>2022-09-10T09:49:12+00:00</updated>
<author>
<name>Niklas Jonsson</name>
<email>niklasandersjonsson@gmail.com</email>
</author>
<published>2022-07-16T13:16:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d3c30c00491b8452300d5ebaeb7822c9271306f'/>
<id>urn:sha1:8d3c30c00491b8452300d5ebaeb7822c9271306f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use LocalExpnId where possible.</title>
<updated>2021-07-17T17:41:02+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-06-25T18:43:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=078dd37f882a59d4277d80b829d729bfd2b5a5c2'/>
<id>urn:sha1:078dd37f882a59d4277d80b829d729bfd2b5a5c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the CrateNum part of the ExpnId.</title>
<updated>2021-07-17T17:35:33+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-07-10T21:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e78d6c9d697217998322ab626cbeee24cdfe228'/>
<id>urn:sha1:6e78d6c9d697217998322ab626cbeee24cdfe228</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify docs for `DUMMY_NODE_ID`</title>
<updated>2021-02-08T03:42:12+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-02-08T03:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f3e2f68d3dd3f59a306d9bb0e95ce0148b0c52b'/>
<id>urn:sha1:0f3e2f68d3dd3f59a306d9bb0e95ce0148b0c52b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document `NodeId`</title>
<updated>2021-01-12T02:12:15+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-01-10T01:44:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2af4a014502832ff961d2efb6cc6d737f0c80ffb'/>
<id>urn:sha1:2af4a014502832ff961d2efb6cc6d737f0c80ffb</id>
<content type='text'>
</content>
</entry>
</feed>
