<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser/path.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-26T22:30:15+00:00</updated>
<entry>
<title>Don't make pattern nonterminals match statement nonterminals</title>
<updated>2024-08-26T22:30:15+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-01-22T02:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c61f85b6dd47343abe6383ea2eb71f0b3a7d0e2b'/>
<id>urn:sha1:c61f85b6dd47343abe6383ea2eb71f0b3a7d0e2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use bool in favor of Option&lt;()&gt; for diagnostics</title>
<updated>2024-08-21T05:31:11+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-08-21T04:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25ff9b6bcbba9e7831eb4d6eba2df6bbcd267c55'/>
<id>urn:sha1:25ff9b6bcbba9e7831eb4d6eba2df6bbcd267c55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Overhaul token collection.</title>
<updated>2024-08-15T23:07:55+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-06T07:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d31f86f0d1482b4e5084579238009cc5d98e49f'/>
<id>urn:sha1:9d31f86f0d1482b4e5084579238009cc5d98e49f</id>
<content type='text'>
This commit does the following.

- Renames `collect_tokens_trailing_token` as `collect_tokens`, because
  (a) it's annoying long, and (b) the `_trailing_token` bit is less
  accurate now that its types have changed.

- In `collect_tokens`, adds a `Option&lt;CollectPos&gt;` argument and a
  `UsePreAttrPos` in the return type of `f`. These are used in
  `parse_expr_force_collect` (for vanilla expressions) and in
  `parse_stmt_without_recovery` (for two different cases of expression
  statements). Together these ensure are enough to fix all the problems
  with token collection and assoc expressions. The changes to the
  `stringify.rs` test demonstrate some of these.

- Adds a new test. The code in this test was causing an assertion
  failure prior to this commit, due to an invalid `NodeRange`.

The extra complexity is annoying, but necessary to fix the existing
problems.
</content>
</entry>
<entry>
<title>Use `impl PartialEq&lt;TokenKind&gt; for Token` more.</title>
<updated>2024-08-14T06:37:09+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-09T07:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7923b20dd9587743372b3fdf7b48eae220200f6e'/>
<id>urn:sha1:7923b20dd9587743372b3fdf7b48eae220200f6e</id>
<content type='text'>
This lets us compare a `Token` with a `TokenKind`. It's used a lot, but
can be used even more, avoiding the need for some `.kind` uses.
</content>
</entry>
<entry>
<title>Use more slice patterns inside the compiler</title>
<updated>2024-08-07T11:37:52+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-08-07T10:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4c518d2d496774ecc7a368e826480d1928ed1ab'/>
<id>urn:sha1:c4c518d2d496774ecc7a368e826480d1928ed1ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark Parser::eat/check methods as must_use</title>
<updated>2024-07-30T01:29:08+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-07-30T01:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4076e34f8215cff65c4deaff4ba7fbda20d2a7f'/>
<id>urn:sha1:e4076e34f8215cff65c4deaff4ba7fbda20d2a7f</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>Use more accurate span for `:` to `::` suggestion</title>
<updated>2024-07-12T03:02:58+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-11T22:03:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5f94c61f72cc85151dbd9bb1081fde2ab78f806'/>
<id>urn:sha1:b5f94c61f72cc85151dbd9bb1081fde2ab78f806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change RTN to use .. again</title>
<updated>2024-06-28T18:20:43+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-28T15:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1a0c0b1231a554d4ae699221a80a6e2f81bac4d'/>
<id>urn:sha1:b1a0c0b1231a554d4ae699221a80a6e2f81bac4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor `parse_expr_res`.</title>
<updated>2024-06-19T09:12:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-19T06:24:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8170acb197d7658505949cefc12e01dfc4c8feab'/>
<id>urn:sha1:8170acb197d7658505949cefc12e01dfc4c8feab</id>
<content type='text'>
This removes the final `Option&lt;AttrWrapper&gt;` argument.
</content>
</entry>
</feed>
