<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/rust.git/compiler/rustc_trait_selection/src/traits/on_unimplemented.rs, branch master</title>
<subtitle>github.com: rust-lang/rust.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/'/>
<entry>
<title>fully move `on_unimplemented` to error reporting</title>
<updated>2022-11-07T07:10:25+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2022-11-07T07:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=80e4e72fcd180ef62baa3a5c2e03fad75e41848b'/>
<id>80e4e72fcd180ef62baa3a5c2e03fad75e41848b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanups</title>
<updated>2022-11-03T18:52:16+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2022-11-03T18:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=3583f2758b438a9274b6b7f00bf4e586058e55d9'/>
<id>3583f2758b438a9274b6b7f00bf4e586058e55d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Address nits, rename enclosing_scope =&gt; parent_label</title>
<updated>2022-09-04T02:10:31+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-09-04T02:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=edba0c92de737ff6d65255865366e0fddf76780c'/>
<id>edba0c92de737ff6d65255865366e0fddf76780c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Porting 'compiler/rustc_trait_selection' to translatable diagnostics - Part 1</title>
<updated>2022-09-01T17:54:50+00:00</updated>
<author>
<name>Gabriel Bustamante</name>
<email>gbustamante@mozilla.com</email>
</author>
<published>2022-08-26T18:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=8e8220027711874f8bf176b14cb8e87b01342081'/>
<id>8e8220027711874f8bf176b14cb8e87b01342081</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Always include a position span in rustc_parse_format::Argument</title>
<updated>2022-07-31T15:11:33+00:00</updated>
<author>
<name>Alex Macleod</name>
<email>alex@macleod.io</email>
</author>
<published>2022-07-31T15:11:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=2a0b51d852e3765d257284f91fc3246084c96ee5'/>
<id>2a0b51d852e3765d257284f91fc3246084c96ee5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate correct suggestion with named arguments used positionally</title>
<updated>2022-07-25T06:00:27+00:00</updated>
<author>
<name>Preston From</name>
<email>prestonfrom@gmail.com</email>
</author>
<published>2022-07-16T21:13:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=3330c7d1c3bcfd2c452b794db66705b92fb54a3c'/>
<id>3330c7d1c3bcfd2c452b794db66705b92fb54a3c</id>
<content type='text'>
Address issue #99265 by checking each positionally used argument
to see if the argument is named and adding a lint to use the name
instead. This way, when named arguments are used positionally in a
different order than their argument order, the suggested lint is
correct.

For example:
```
println!("{b} {}", a=1, b=2);
```
This will now generate the suggestion:
```
println!("{b} {a}", a=1, b=2);
```

Additionally, this check now also correctly replaces or inserts
only where the positional argument is (or would be if implicit).
Also, width and precision are replaced with their argument names
when they exists.

Since the issues were so closely related, this fix for issue #99265
also fixes issue #99266.

Fixes #99265
Fixes #99266
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Address issue #99265 by checking each positionally used argument
to see if the argument is named and adding a lint to use the name
instead. This way, when named arguments are used positionally in a
different order than their argument order, the suggested lint is
correct.

For example:
```
println!("{b} {}", a=1, b=2);
```
This will now generate the suggestion:
```
println!("{b} {a}", a=1, b=2);
```

Additionally, this check now also correctly replaces or inserts
only where the positional argument is (or would be if implicit).
Also, width and precision are replaced with their argument names
when they exists.

Since the issues were so closely related, this fix for issue #99265
also fixes issue #99266.

Fixes #99265
Fixes #99266
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up condition evaluation system</title>
<updated>2022-05-24T11:43:08+00:00</updated>
<author>
<name>Loïc BRANSTETT</name>
<email>lolo.branstett@numericable.fr</email>
</author>
<published>2022-04-22T10:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=ae38533ed76dfb6c696123a0c22f9b2e38a916fc'/>
<id>ae38533ed76dfb6c696123a0c22f9b2e38a916fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>only_local: always check for misuse</title>
<updated>2022-05-10T10:07:35+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2022-05-02T07:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=6c8265dc56d221dce7f3535ecf8cdee6b9d2d618'/>
<id>6c8265dc56d221dce7f3535ecf8cdee6b9d2d618</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make rustc_parse_format compile on stable</title>
<updated>2022-05-03T09:26:58+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-04-29T16:48:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=d33140d2dc95c33bc8281b476048c923476c8b73'/>
<id>d33140d2dc95c33bc8281b476048c923476c8b73</id>
<content type='text'>
This allows it to be used by lightweight formatting systems and may
allow it to be used by rust-analyzer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows it to be used by lightweight formatting systems and may
allow it to be used by rust-analyzer.
</pre>
</div>
</content>
</entry>
<entry>
<title>couple of clippy::complexity fixes</title>
<updated>2022-04-13T20:51:34+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-04-13T20:51:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/rust.git/commit/?id=7c2d57e0fa1615d993a4b4166163fb0b3ec7d395'/>
<id>7c2d57e0fa1615d993a4b4166163fb0b3ec7d395</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
