<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/errors.rs, branch 1.68.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.68.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.68.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-12T02:16:16+00:00</updated>
<entry>
<title>Auto merge of #106537 - fmease:recover-where-clause-before-tuple-struct-body, r=estebank</title>
<updated>2023-01-12T02:16:16+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-01-12T02:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4203eda5f0dd0b0192bfd22ea5989fbaf917818'/>
<id>urn:sha1:d4203eda5f0dd0b0192bfd22ea5989fbaf917818</id>
<content type='text'>
Recover from where clauses placed before tuple struct bodies

Open to any suggestions regarding the phrasing of the diagnostic.

Fixes #100790.
`@rustbot` label A-diagnostics
r? diagnostics
</content>
</entry>
<entry>
<title>parser: recover from where clauses placed before tuple struct bodies</title>
<updated>2023-01-11T16:54:48+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2023-01-06T16:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=70ddde76dfbb03909c565b329f86e49de1f767cc'/>
<id>urn:sha1:70ddde76dfbb03909c565b329f86e49de1f767cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect struct literal needing parentheses</title>
<updated>2023-01-11T16:53:21+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-01-09T05:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=531193853142a2564f1c667c9e8ca96c524a380b'/>
<id>urn:sha1:531193853142a2564f1c667c9e8ca96c524a380b</id>
<content type='text'>
Fix #82051.
</content>
</entry>
<entry>
<title>Recover `fn` keyword as `Fn` trait in bounds</title>
<updated>2022-12-27T06:14:46+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-12-27T06:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aff403cf689e30fdd20b96333d3a10db92086e4f'/>
<id>urn:sha1:aff403cf689e30fdd20b96333d3a10db92086e4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix #105366, suggest impl in the scenario of typo with fn</title>
<updated>2022-12-10T03:01:52+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2022-12-09T17:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b70a869d8f49e87d8432de6af6d209243a7053a4'/>
<id>urn:sha1:b70a869d8f49e87d8432de6af6d209243a7053a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Match crate and slug names</title>
<updated>2022-11-21T14:24:50+00:00</updated>
<author>
<name>mejrs</name>
<email></email>
</author>
<published>2022-11-07T18:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe212eca76f3976756e47355e4f0cb62984ec837'/>
<id>urn:sha1:fe212eca76f3976756e47355e4f0cb62984ec837</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #103405 - chenyukang:yukang/fix-103381-and-if, r=compiler-errors</title>
<updated>2022-11-18T13:13:36+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-11-18T13:13:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3efbf3022012f3dbebd6743bf8e53f50cb1d0488'/>
<id>urn:sha1:3efbf3022012f3dbebd6743bf8e53f50cb1d0488</id>
<content type='text'>
Detect incorrect chaining of if and if let conditions and recover

Fixes #103381
</content>
</entry>
<entry>
<title>Use `token::Lit` in `ast::ExprKind::Lit`.</title>
<updated>2022-11-15T22:41:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-10-10T02:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=358a603f110b0489d22f3929d3f232e684fd9ffb'/>
<id>urn:sha1:358a603f110b0489d22f3929d3f232e684fd9ffb</id>
<content type='text'>
Instead of `ast::Lit`.

Literal lowering now happens at two different times. Expression literals
are lowered when HIR is crated. Attribute literals are lowered during
parsing.

This commit changes the language very slightly. Some programs that used
to not compile now will compile. This is because some invalid literals
that are removed by `cfg` or attribute macros will no longer trigger
errors. See this comment for more details:
https://github.com/rust-lang/rust/pull/102944#issuecomment-1277476773
</content>
</entry>
<entry>
<title>fix #104088, Slightly improve error message for invalid identifier</title>
<updated>2022-11-15T00:58:19+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2022-11-11T20:22:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9db8e183dc17896ce5f307f6de19c261d746a9bc'/>
<id>urn:sha1:9db8e183dc17896ce5f307f6de19c261d746a9bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix #103381, Detect incorrect chaining of if and if let conditions</title>
<updated>2022-11-15T00:53:17+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2022-11-15T00:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=74c9a6c6df5a9fb1a3dc8099f773301e4fc3cdb4'/>
<id>urn:sha1:74c9a6c6df5a9fb1a3dc8099f773301e4fc3cdb4</id>
<content type='text'>
</content>
</entry>
</feed>
