<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser/path.rs, branch 1.67.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.67.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.67.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-11-17T02:56:38+00:00</updated>
<entry>
<title>Use `ThinVec` in `ast::Path`.</title>
<updated>2022-11-17T02:56:38+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-09-08T07:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=67d5cc0462f33773f042dc3c5ec9bd710095b1b4'/>
<id>urn:sha1:67d5cc0462f33773f042dc3c5ec9bd710095b1b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and patterns.</title>
<updated>2022-11-17T02:45:59+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-09-08T00:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b7ca2fcf2ebbba705f7a98c00bd56b5348ee9d7'/>
<id>urn:sha1:6b7ca2fcf2ebbba705f7a98c00bd56b5348ee9d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce `ExprKind::IncludedBytes`</title>
<updated>2022-11-11T16:31:32+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2022-10-31T18:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2da155a9aae875e6c2f5df52d8f87e734c88be7'/>
<id>urn:sha1:b2da155a9aae875e6c2f5df52d8f87e734c88be7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always import all tracing macros for the entire crate instead of piecemeal by module</title>
<updated>2022-09-01T14:54:27+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-08-31T13:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee3c8350189de045ec71997874eaa6cebf99fbf3'/>
<id>urn:sha1:ee3c8350189de045ec71997874eaa6cebf99fbf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unnecessary cloning in `Parser::get_ident_from_generic_arg`.</title>
<updated>2022-08-16T02:14:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-08-16T02:14:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9619a2e3a3d24f34f2b8e86d652665af594a709c'/>
<id>urn:sha1:9619a2e3a3d24f34f2b8e86d652665af594a709c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify attribute handling in `parse_bottom_expr`.</title>
<updated>2022-08-15T03:29:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-08-14T23:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ef04795681837153df7613192305a2ddbf13497'/>
<id>urn:sha1:2ef04795681837153df7613192305a2ddbf13497</id>
<content type='text'>
`Parser::parse_bottom_expr` currently constructs an empty `attrs` and
then passes it to a large number of other functions. This makes the code
harder to read than it should be, because it's not clear that many
`attrs` arguments are always empty.

This commit removes `attrs` and the passing, simplifying a lot of
functions. The commit also renames `Parser::mk_expr` (which takes an
`attrs` argument) as `mk_expr_with_attrs`, and introduces a new
`mk_expr` which creates an expression with no attributes, which is the
more common case.
</content>
</entry>
<entry>
<title>Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errors</title>
<updated>2022-06-13T22:47:22+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2022-06-13T22:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e3a3c00be805c265e5be3b478d76423371459c3b'/>
<id>urn:sha1:e3a3c00be805c265e5be3b478d76423371459c3b</id>
<content type='text'>
Improve parser diagnostics

This pr fixes https://github.com/rust-lang/rust/issues/93867 and contains a couple of diagnostics related changes to the parser.
Here is a short list with some of the changes:
- don't suggest the same thing that is the current token
- suggest removing the current token if the following token is one of the suggestions (maybe incorrect)
- tell the user to put a type or lifetime after where if there is none (as a warning)
- reduce the amount of tokens suggested (via the new eat_noexpect and check_noexpect methods)

If any of these changes are undesirable, i can remove them, thanks!
</content>
</entry>
<entry>
<title>remove unnecessary `to_string` and `String::new`</title>
<updated>2022-06-13T06:48:40+00:00</updated>
<author>
<name>Takayuki Maeda</name>
<email>takoyaki0316@gmail.com</email>
</author>
<published>2022-06-13T06:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77d6176e69de8bcdc15a12402ce7245f06ca2329'/>
<id>urn:sha1:77d6176e69de8bcdc15a12402ce7245f06ca2329</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improves parser diagnostics, fixes #93867</title>
<updated>2022-06-12T15:48:52+00:00</updated>
<author>
<name>threadexception</name>
<email>hannes.gaumann@outlook.de</email>
</author>
<published>2022-05-01T17:05:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21fdd549f63499a6f15160c22175cc9c3bbeb473'/>
<id>urn:sha1:21fdd549f63499a6f15160c22175cc9c3bbeb473</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`</title>
<updated>2022-04-28T07:04:29+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-04-26T12:40:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2733ec1be34b1ae9f22c70c901bb89229adf9def'/>
<id>urn:sha1:2733ec1be34b1ae9f22c70c901bb89229adf9def</id>
<content type='text'>
</content>
</entry>
</feed>
