<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/moves/auxiliary, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-12-24T03:35:38+00:00</updated>
<entry>
<title>Fix some typos</title>
<updated>2024-12-24T03:35:38+00:00</updated>
<author>
<name>fudancoder</name>
<email>fudancoder@icloud.com.</email>
</author>
<published>2024-12-19T13:38:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e97be25aa950c25b8f099ef3f9ed642dab0aafae'/>
<id>urn:sha1:e97be25aa950c25b8f099ef3f9ed642dab0aafae</id>
<content type='text'>
Signed-off-by: fudancoder &lt;fudancoder@icloud.com.&gt;
</content>
</entry>
<entry>
<title>Suggest borrowing arguments in generic positions when trait bounds are satisfied</title>
<updated>2024-11-14T04:29:40+00:00</updated>
<author>
<name>dianne</name>
<email>diannes.gm@gmail.com</email>
</author>
<published>2024-10-23T08:32:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ab848060527f50a02cda91b9b8d98df6eb7ceab'/>
<id>urn:sha1:2ab848060527f50a02cda91b9b8d98df6eb7ceab</id>
<content type='text'>
This subsumes the suggestions to borrow arguments with `AsRef`/`Borrow` bounds and those to borrow
arguments with `Fn` and `FnMut` bounds. It works for other traits implemented on references as well,
such as `std::io::Read`, `std::io::Write`, and `core::fmt::Write`.

Incidentally, by making the logic for suggesting borrowing closures general, this removes some
spurious suggestions to mutably borrow `FnMut` closures in assignments, as well as an unhelpful
suggestion to add a `Clone` constraint to an `impl Fn` argument.
</content>
</entry>
<entry>
<title>Provide borrow-instead-of-move suggestions for calls of fn-like items from other crates</title>
<updated>2024-11-14T00:36:23+00:00</updated>
<author>
<name>dianne</name>
<email>diannes.gm@gmail.com</email>
</author>
<published>2024-10-20T11:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2280d8ea0028bf163b1d9ac25514614823843140'/>
<id>urn:sha1:2280d8ea0028bf163b1d9ac25514614823843140</id>
<content type='text'>
This also downgrades its applicability to MaybeIncorrect. Its suggestion can result in ill-typed
code when the type parameter it suggests providing a different generic argument for appears
elsewhere in the callee's signature or predicates.
</content>
</entry>
</feed>
