<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_feature/src/lib.rs, branch 1.82.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.82.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.82.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-08-27T02:55:54+00:00</updated>
<entry>
<title>Add `warn(unreachable_pub)` to `rustc_feature`.</title>
<updated>2024-08-27T02:55:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-27T02:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d8d05c07f8be4c90adf27141c0f64f76c318f64'/>
<id>urn:sha1:0d8d05c07f8be4c90adf27141c0f64f76c318f64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>clarify the meaning of the version number for accepted/removed features</title>
<updated>2024-07-14T06:18:03+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-07-14T06:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde'/>
<id>urn:sha1:2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add hard error and migration lint for unsafe attrs</title>
<updated>2024-06-24T00:02:14+00:00</updated>
<author>
<name>carbotaniuman</name>
<email>41451839+carbotaniuman@users.noreply.github.com</email>
</author>
<published>2024-06-08T23:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a23917cfd07b309f32603c6acb81b63aad8504e7'/>
<id>urn:sha1:a23917cfd07b309f32603c6acb81b63aad8504e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `tidy` to sort crate attributes for all compiler crates.</title>
<updated>2024-06-12T05:49:10+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-12T03:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75b164d836ff82b459dfb05646bf0328dd23d2fd'/>
<id>urn:sha1:75b164d836ff82b459dfb05646bf0328dd23d2fd</id>
<content type='text'>
We already do this for a number of crates, e.g. `rustc_middle`,
`rustc_span`, `rustc_metadata`, `rustc_span`, `rustc_errors`.

For the ones we don't, in many cases the attributes are a mess.
- There is no consistency about order of attribute kinds (e.g.
  `allow`/`deny`/`feature`).
- Within attribute kind groups (e.g. the `feature` attributes),
  sometimes the order is alphabetical, and sometimes there is no
  particular order.
- Sometimes the attributes of a particular kind aren't even grouped
  all together, e.g. there might be a `feature`, then an `allow`, then
  another `feature`.

This commit extends the existing sorting to all compiler crates,
increasing consistency. If any new attribute line is added there is now
only one place it can go -- no need for arbitrary decisions.

Exceptions:
- `rustc_log`, `rustc_next_trait_solver` and `rustc_type_ir_macros`,
  because they have no crate attributes.
- `rustc_codegen_gcc`, because it's quasi-external to rustc (e.g. it's
  ignored in `rustfmt.toml`).
</content>
</entry>
<entry>
<title>Error on unsafe on non-unsafe attribute</title>
<updated>2024-06-07T01:26:28+00:00</updated>
<author>
<name>carbotaniuman</name>
<email>41451839+carbotaniuman@users.noreply.github.com</email>
</author>
<published>2024-05-15T23:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=230b58febf78bb1680b4960d32350a7430a8aab5'/>
<id>urn:sha1:230b58febf78bb1680b4960d32350a7430a8aab5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)</title>
<updated>2024-02-21T03:55:13+00:00</updated>
<author>
<name>Peter Jaszkowiak</name>
<email>p.jaszkow@gmail.com</email>
</author>
<published>2024-02-21T03:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4913ab8f779582dc9da099a148a4670ede0e15aa'/>
<id>urn:sha1:4913ab8f779582dc9da099a148a4670ede0e15aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize generic `NonZero`.</title>
<updated>2024-04-22T16:48:47+00:00</updated>
<author>
<name>Markus Reiter</name>
<email>me@reitermark.us</email>
</author>
<published>2024-04-21T16:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=33e68aadc975c60bf975789f70156e67082e8910'/>
<id>urn:sha1:33e68aadc975c60bf975789f70156e67082e8910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change only_local to enum type and change the macros to always require a variant of that enum.</title>
<updated>2024-03-19T12:13:40+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2024-03-18T16:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db48dfcd03ec039eb1741becf7f445a66af6761b'/>
<id>urn:sha1:db48dfcd03ec039eb1741becf7f445a66af6761b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace `NonZero::&lt;_&gt;::new` with `NonZero::new`.</title>
<updated>2024-02-15T07:09:42+00:00</updated>
<author>
<name>Markus Reiter</name>
<email>me@reitermark.us</email>
</author>
<published>2024-02-08T22:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a90cc05233858fcd16c3ca0e0b4320fc5ae09af2'/>
<id>urn:sha1:a90cc05233858fcd16c3ca0e0b4320fc5ae09af2</id>
<content type='text'>
</content>
</entry>
</feed>
