<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser/path.rs, branch 1.55.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.55.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.55.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-06-04T22:31:28+00:00</updated>
<entry>
<title>Fix handling of unmatched angle brackets in parser</title>
<updated>2021-06-04T22:31:28+00:00</updated>
<author>
<name>Fabian Wolff</name>
<email>fabian.wolff@alumni.ethz.ch</email>
</author>
<published>2021-06-04T20:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a6a605a61dfacfa974582484236155ce041a21d'/>
<id>urn:sha1:6a6a605a61dfacfa974582484236155ce041a21d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix turbofish recovery with multiple generic args</title>
<updated>2021-02-27T10:46:49+00:00</updated>
<author>
<name>Ömer Sinan Ağacan</name>
<email>omeragacan@gmail.com</email>
</author>
<published>2021-02-27T05:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb631a55c2acfae37e55e4c338dd3cc03da0fa7f'/>
<id>urn:sha1:fb631a55c2acfae37e55e4c338dd3cc03da0fa7f</id>
<content type='text'>
check_mistyped_turbofish_with_multiple_type_params was previously
expecting type arguments between angle brackets, which is not right, as
we can also see const expressions. We now use generic argument parser
instead of type parser.

Test with one, two, and three generic arguments added to check
consistentcy between

1. check_no_chained_comparison: Called after parsing a nested binop
   application like `x &lt; A &gt; ...` where angle brackets are interpreted as
   binary operators and `A` is an expression.

2. check_mistyped_turbofish_with_multiple_type_params: called by
   `parse_full_stmt` when we expect to see a semicolon after parsing an
   expression but don't see it.

   (In `T2&lt;1, 2&gt;::C;`, the expression is `T2 &lt; 1`)
</content>
</entry>
<entry>
<title>Point only at generic arguments when they are unexpected</title>
<updated>2021-01-26T23:59:43+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2020-12-01T08:40:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e846d6f618332ef80e5333f0d7922527373e517'/>
<id>urn:sha1:2e846d6f618332ef80e5333f0d7922527373e517</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve diagnostics for angle args</title>
<updated>2021-01-22T16:07:27+00:00</updated>
<author>
<name>b-naber</name>
<email>bn263@gmx.de</email>
</author>
<published>2020-12-15T16:43:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=728d257839ad2397e34c71f8ceda151fa579242d'/>
<id>urn:sha1:728d257839ad2397e34c71f8ceda151fa579242d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework diagnostics for wrong number of generic args</title>
<updated>2021-01-10T12:07:40+00:00</updated>
<author>
<name>Patryk Wychowaniec</name>
<email>pwychowaniec@pm.me</email>
</author>
<published>2021-01-02T18:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2f8e398f19b5b3d38646328ec158f50db6b8b06'/>
<id>urn:sha1:d2f8e398f19b5b3d38646328ec158f50db6b8b06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>first pass at default values for const generics</title>
<updated>2021-01-01T09:55:10+00:00</updated>
<author>
<name>Julian Knodt</name>
<email>julianknodt@gmail.com</email>
</author>
<published>2020-12-31T00:58:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61f33bfd2940ea55559b253a66c42937a17d3c87'/>
<id>urn:sha1:61f33bfd2940ea55559b253a66c42937a17d3c87</id>
<content type='text'>
- Adds optional default values to const generic parameters in the AST
  and HIR
- Parses these optional default values
- Adds a `const_generics_defaults` feature gate
</content>
</entry>
<entry>
<title>use matches!() macro in more places</title>
<updated>2020-12-24T12:35:12+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2020-12-24T01:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d12a358673b17ed74fe1a584b4cab66fe62e18d0'/>
<id>urn:sha1:d12a358673b17ed74fe1a584b4cab66fe62e18d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gracefully handle confusing -&gt; with : in function return type</title>
<updated>2020-12-03T17:19:42+00:00</updated>
<author>
<name>mibac138</name>
<email>5672750+mibac138@users.noreply.github.com</email>
</author>
<published>2020-10-15T19:21:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3548be94c03fd6d1c11afd6af9c884f398a6489e'/>
<id>urn:sha1:3548be94c03fd6d1c11afd6af9c884f398a6489e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gracefully handle mistyping -&gt; as =&gt; in function return type</title>
<updated>2020-12-01T11:12:48+00:00</updated>
<author>
<name>mibac138</name>
<email>5672750+mibac138@users.noreply.github.com</email>
</author>
<published>2020-10-14T20:27:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5404deeb64f4449079f5165ace6bfa1e52ca4b33'/>
<id>urn:sha1:5404deeb64f4449079f5165ace6bfa1e52ca4b33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #79266 - b-naber:gat_trait_path_parser, r=petrochenkov</title>
<updated>2020-11-27T00:18:24+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-11-27T00:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cfed9184f44cbd02662eb7715d6226ae885ef5c3'/>
<id>urn:sha1:cfed9184f44cbd02662eb7715d6226ae885ef5c3</id>
<content type='text'>
Generic Associated Types in Trait Paths - Ast part

The Ast part of https://github.com/rust-lang/rust/pull/78978

r? `@petrochenkov`
</content>
</entry>
</feed>
