<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/parser/raw, branch 1.46.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.46.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.46.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-04-02T05:02:55+00:00</updated>
<entry>
<title>Handle unterminated raw strings with no #s properly</title>
<updated>2020-04-02T05:02:55+00:00</updated>
<author>
<name>Russell Cohen</name>
<email>russell.r.cohen@gmail.com</email>
</author>
<published>2020-04-02T04:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f543689eb65aeacb6ec85c07f0c82800174d21c1'/>
<id>urn:sha1:f543689eb65aeacb6ec85c07f0c82800174d21c1</id>
<content type='text'>
The modified code to handle parsing raw strings didn't properly account for the case where there was no "#" on either end and erroneously reported this strings as complete. This lead to a panic trying to read off the end of the file.
</content>
</entry>
<entry>
<title>More raw string tests</title>
<updated>2020-03-29T15:34:15+00:00</updated>
<author>
<name>Russell Cohen</name>
<email>russell.r.cohen@gmail.com</email>
</author>
<published>2020-03-29T15:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82b2989ae0dbb1166289a360620e07865135a5e8'/>
<id>urn:sha1:82b2989ae0dbb1166289a360620e07865135a5e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup error messages, improve docstrings</title>
<updated>2020-03-29T15:12:48+00:00</updated>
<author>
<name>Russell Cohen</name>
<email>russell.r.cohen@gmail.com</email>
</author>
<published>2020-03-29T15:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c15f86b4b35a260b105dc472fc6e3556af8a8db0'/>
<id>urn:sha1:c15f86b4b35a260b105dc472fc6e3556af8a8db0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve error messages for raw strings (#60762)</title>
<updated>2020-03-29T04:43:43+00:00</updated>
<author>
<name>Russell Cohen</name>
<email>russell.r.cohen@gmail.com</email>
</author>
<published>2020-03-28T05:46:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=629e97a5a02edb3d8dc63c5157962c093217d441'/>
<id>urn:sha1:629e97a5a02edb3d8dc63c5157962c093217d441</id>
<content type='text'>
This diff improves error messages around raw strings in a few ways:
- Catch extra trailing `#` in the parser. This can't be handled in the lexer because we could be in a macro that actually expects another # (see test)
- Refactor &amp; unify error handling in the lexer between ByteStrings and RawByteStrings
- Detect potentially intended terminators (longest sequence of "#*" is suggested)
</content>
</entry>
<entry>
<title>Move raw string tests into the raw directory</title>
<updated>2020-03-28T02:02:18+00:00</updated>
<author>
<name>Russell Cohen</name>
<email>russell.r.cohen@gmail.com</email>
</author>
<published>2020-03-28T02:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=840a5769b0879f39e21d973a60ac0b0db172f050'/>
<id>urn:sha1:840a5769b0879f39e21d973a60ac0b0db172f050</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update UI tests</title>
<updated>2020-02-28T15:01:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2020-02-18T13:50:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ce9460b7a132fa4075325d2ae4c4b4ecd09ffd0'/>
<id>urn:sha1:8ce9460b7a132fa4075325d2ae4c4b4ecd09ffd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Accurately portray raw identifiers in error messages</title>
<updated>2019-12-04T03:01:42+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-12-04T03:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6b435d923e5979cd3579427901d2140a932dfc0'/>
<id>urn:sha1:f6b435d923e5979cd3579427901d2140a932dfc0</id>
<content type='text'>
When refering to or suggesting raw identifiers, refer to them with `r#`.

Fix #65634.
</content>
</entry>
<entry>
<title>Remove "here" from "expected one of X here"</title>
<updated>2019-11-07T01:26:20+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-10-28T18:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52e8ec14322e1f0c2cba5fc3c54e876e58a5ddee'/>
<id>urn:sha1:52e8ec14322e1f0c2cba5fc3c54e876e58a5ddee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak unexpected token wording</title>
<updated>2019-10-28T17:53:13+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-10-22T18:46:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b0836df6f633eb1a4c02d15a8d942bfe885f172'/>
<id>urn:sha1:1b0836df6f633eb1a4c02d15a8d942bfe885f172</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove blanket silencing of "type annotation needed" errors</title>
<updated>2019-09-24T18:31:14+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-09-24T18:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9ab4ff9a3746c8663278f7338cfb4aabf96a9bb'/>
<id>urn:sha1:d9ab4ff9a3746c8663278f7338cfb4aabf96a9bb</id>
<content type='text'>
Remove blanket check for existence of other errors before emitting
"type annotation needed" errors, and add some eager checks to avoid
adding obligations when they refer to types that reference
`[type error]` in order to reduce unneded errors.
</content>
</entry>
</feed>
