<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/util, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-02-29T17:47:10+00:00</updated>
<entry>
<title>Move directory `libsyntax` -&gt; `librustc_ast`</title>
<updated>2020-02-29T17:47:10+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-02-29T17:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e94d3b70cb495df83230cff9ef5bb00f235883e4'/>
<id>urn:sha1:e94d3b70cb495df83230cff9ef5bb00f235883e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some missing support for `NtIdent`</title>
<updated>2020-02-24T10:03:58+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-02-22T17:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59261f0a7cf264f16e2b6a4e87d4249b212e920e'/>
<id>urn:sha1:59261f0a7cf264f16e2b6a4e87d4249b212e920e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename CodeMap to SourceMap follow up</title>
<updated>2020-02-22T14:17:31+00:00</updated>
<author>
<name>Maxim Zholobak</name>
<email>maxim.zholobak@grammarly.com</email>
</author>
<published>2020-02-22T14:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=20c9a40fec886826a3e7c4ec0c33ea4692f2c6a8'/>
<id>urn:sha1:20c9a40fec886826a3e7c4ec0c33ea4692f2c6a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parser: fuse free `fn` parsing together.</title>
<updated>2020-02-13T09:39:24+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-01-30T12:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a833be21626890de406e12f2561d2ffbda4aadb4'/>
<id>urn:sha1:a833be21626890de406e12f2561d2ffbda4aadb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax::print -&gt; new crate rustc_ast_pretty</title>
<updated>2020-02-01T17:59:49+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-01-11T16:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e233331a519408edf60ac1c7dee4a9cefe8c8756'/>
<id>urn:sha1:e233331a519408edf60ac1c7dee4a9cefe8c8756</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pretty: remove ParseSess dependency</title>
<updated>2020-02-01T17:54:55+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-01-11T09:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64d0143c2c5f627e246822b4e2f501e563ec63cc'/>
<id>urn:sha1:64d0143c2c5f627e246822b4e2f501e563ec63cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>{syntax -&gt; rustc_ast_passes}::node_count</title>
<updated>2020-02-01T17:54:55+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-01-11T08:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50f0e2e9e6e85c5ae15ffde79e34edfd284465fd'/>
<id>urn:sha1:50f0e2e9e6e85c5ae15ffde79e34edfd284465fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #67849 - cjkenn:check-sorted-words, r=estebank</title>
<updated>2020-01-08T15:29:12+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2020-01-08T15:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=429a7e7522fcec73ce2cbbc1ef47688276ce08d5'/>
<id>urn:sha1:429a7e7522fcec73ce2cbbc1ef47688276ce08d5</id>
<content type='text'>
Add a check for swapped words when we can't find an identifier

Fixes #66968

Couple things here:
1. The matches take the precedence of case insensitive match, then levenshtein match, then swapped words match. Doing this allows us to not even check for swapped words unless the other checks return `None`.
2. I've assumed that the swapped words check is not held to the limits of the max levenshtein distance threshold (ie. we want to try and find a match even if the levenshtein distance is very high). This means that we cannot perform this check in the `fold` that occurs after the `filter_map` call, because the candidate will be filtered out. So, I've split this into two separate `fold` calls, and had to collect the original iterator into a vec so it can be copied (I don't think we want to change the function signature to take a vec or require the `Copy` trait). An alternative implemenation may be to remove the `filter_map`, `fold` over the entire iterator, and do a check against `max_dist` inside the relevant cases there.

r? @estebank
</content>
</entry>
<entry>
<title>missed tidy check</title>
<updated>2020-01-04T01:01:16+00:00</updated>
<author>
<name>cjkenn</name>
<email>cam.j.kennedy@gmail.com</email>
</author>
<published>2020-01-04T01:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27ea4c855e2adeeea9e5e58622715d45fd9c7801'/>
<id>urn:sha1:27ea4c855e2adeeea9e5e58622715d45fd9c7801</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a check for variable names that might match by word</title>
<updated>2020-01-03T23:53:03+00:00</updated>
<author>
<name>cjkenn</name>
<email>cam.j.kennedy@gmail.com</email>
</author>
<published>2020-01-03T23:53:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91334e0a799c35d6adf0a226a2f0aee0d70896e3'/>
<id>urn:sha1:91334e0a799c35d6adf0a226a2f0aee0d70896e3</id>
<content type='text'>
</content>
</entry>
</feed>
