<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse_format, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-02T09:12:54+00:00</updated>
<entry>
<title>Revert introduction of `[workspace.dependencies]`.</title>
<updated>2025-09-02T09:12:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-09-02T09:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=301655eafe56a4b5064adebd412becf94b59221c'/>
<id>urn:sha1:301655eafe56a4b5064adebd412becf94b59221c</id>
<content type='text'>
This was done in #145740 and #145947. It is causing problems for people
using r-a on anything that uses the rustc-dev rustup package, e.g. Miri,
clippy.

This repository has lots of submodules and subtrees and various
different projects are carved out of pieces of it. It seems like
`[workspace.dependencies]` will just be more trouble than it's worth.
</content>
</entry>
<entry>
<title>Rollup merge of #145592 - nilotpal-n7:fix-format-alignment, r=lcnr</title>
<updated>2025-08-31T11:40:35+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-08-31T11:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e5f96e3b4370286ec972e4bb7a26566e8e98e1ea'/>
<id>urn:sha1:e5f96e3b4370286ec972e4bb7a26566e8e98e1ea</id>
<content type='text'>
Fix format string grammar in docs and improve alignment error message for #144023

This PR improves error messages and documentation for format strings involving alignment and formatting traits.

Highlights:

- Clearer error messages for invalid alignment specifiers (e.g., `{0:#X&gt;18}`), showing the expected `&lt;`, `^`, or `&gt;` and a working example:

    println!("{0:&gt;#18X}", value);

- Updated UI test `format-alignment-hash.rs` to reflect the improved error output.
- Documentation clarification: ensures examples correctly show how width, alignment, and traits like `x`, `X`, `#` combine.

Motivation:
Previously, using `#` with alignment and width produced confusing errors. This PR guides users on the correct syntax and provides actionable examples.

Testing:
- Built the compiler (`./x build`)
- Blessed and ran UI tests (`./x. test src/test/ui/fmt/format-alignment-hash.rs --bless`)
- Verified full test suite passes (`./x test`)

Issue: rust-lang/rust#144023
</content>
</entry>
<entry>
<title>Fix format string grammar in docs and improve alignment error message</title>
<updated>2025-08-27T15:15:41+00:00</updated>
<author>
<name>Nilotpal Gupta</name>
<email>nilotpalgupta0701@gmail.com</email>
</author>
<published>2025-08-19T05:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdbaaac245673d8dbf7bcc21ebedc833693434f6'/>
<id>urn:sha1:fdbaaac245673d8dbf7bcc21ebedc833693434f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `rustc-literal-escaper` to `[workspace.dependencies]`.</title>
<updated>2025-08-27T03:59:32+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-08-21T21:30:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32b0fff8fe750ee61b77481d0db1fe2c5cb5e63b'/>
<id>urn:sha1:32b0fff8fe750ee61b77481d0db1fe2c5cb5e63b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update to literal-escaper-0.0.5</title>
<updated>2025-07-08T10:16:44+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-07-08T10:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d44dcd451326d32516c22ee5f998304afaf19c4d'/>
<id>urn:sha1:d44dcd451326d32516c22ee5f998304afaf19c4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing</title>
<updated>2025-06-23T06:36:22+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-03-07T11:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=707a6f54631c322e8c8ccff363fe024d67d93aa2'/>
<id>urn:sha1:707a6f54631c322e8c8ccff363fe024d67d93aa2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ParseMode::Diagnostic unit tests</title>
<updated>2025-06-09T14:28:58+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-06-09T14:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba1c650a2cf3f72cd7c1b55ccf191e56bff3f47d'/>
<id>urn:sha1:ba1c650a2cf3f72cd7c1b55ccf191e56bff3f47d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce ParseMode::diagnostic and fix multiline spans</title>
<updated>2025-06-09T14:28:58+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-24T16:12:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03c846ee1d118d8a2a39085c7365655706aee0f8'/>
<id>urn:sha1:03c846ee1d118d8a2a39085c7365655706aee0f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename Parser's lifetime to `'input`</title>
<updated>2025-06-09T14:28:58+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-23T21:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7174a761b7f5b70a1abd1b2a122876ffe097c0f'/>
<id>urn:sha1:c7174a761b7f5b70a1abd1b2a122876ffe097c0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>implement Default for FormatSpec</title>
<updated>2025-06-09T14:28:58+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-23T20:51:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b68c06b1e2fdfe9d9aebbd7aa1650248ec6f85a2'/>
<id>urn:sha1:b68c06b1e2fdfe9d9aebbd7aa1650248ec6f85a2</id>
<content type='text'>
</content>
</entry>
</feed>
