<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/tools/clippy/tests/ui/useless_conversion.fixed, branch 1.85.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-12-26T14:15:54+00:00</updated>
<entry>
<title>Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into clippy-subtree-update</title>
<updated>2024-12-26T14:15:54+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2024-12-26T14:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a7d8ece322d2ecd106f7c650a35ed8df777e109'/>
<id>urn:sha1:8a7d8ece322d2ecd106f7c650a35ed8df777e109</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests for hidden references to mutable static</title>
<updated>2024-09-13T11:10:56+00:00</updated>
<author>
<name>Obei Sideg</name>
<email>obei.sideg@gmail.com</email>
</author>
<published>2024-08-24T03:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3b0ce1bc33d30d7d116ee9af60df873e04bd74dc'/>
<id>urn:sha1:3b0ce1bc33d30d7d116ee9af60df873e04bd74dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '26ac6aab023393c94edf42f38f6ad31196009643'</title>
<updated>2024-01-11T16:27:03+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2024-01-11T16:27:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af39354819053122be87a21a9e13b1d5d8243151'/>
<id>urn:sha1:af39354819053122be87a21a9e13b1d5d8243151</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyup</title>
<updated>2023-09-25T09:28:58+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2023-09-25T09:28:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3112e373aca4250d1444957ab4ded626cb99ee91'/>
<id>urn:sha1:3112e373aca4250d1444957ab4ded626cb99ee91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup</title>
<updated>2023-08-24T19:32:12+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2023-08-24T19:32:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7137a09806171e75b54c5fb70bf629a55ff04d8b'/>
<id>urn:sha1:7137a09806171e75b54c5fb70bf629a55ff04d8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #11070 - y21:issue11065, r=flip1995</title>
<updated>2023-08-17T16:06:36+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-08-17T14:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09d05c04da516d4f54ccf41e22b544bc8c425373'/>
<id>urn:sha1:09d05c04da516d4f54ccf41e22b544bc8c425373</id>
<content type='text'>
[`useless_conversion`]: only lint on paths to fn items and fix FP in macro

Fixes #11065 (which is actually two issues: an ICE and a false positive)

It now makes sure that the function call path points to a function-like item (and not e.g. a `const` like in the linked issue), so that calling `TyCtxt::fn_sig` later in the lint does not ICE (fixes https://github.com/rust-lang/rust-clippy/issues/11065#issuecomment-1616836099).
It *also* makes sure that the expression is not part of a macro call (fixes https://github.com/rust-lang/rust-clippy/issues/11065#issuecomment-1616919639). ~~I'm not sure if there's a better way to check this other than to walk the parent expr chain and see if any of them are expansions.~~ (edit: it doesn't do this anymore)

changelog: [`useless_conversion`]: fix ICE when call receiver is a non-fn item
changelog: [`useless_conversion`]: don't lint if argument is a macro argument (fixes a FP)

r? `@llogiq` (reviewed #10814, which introduced these issues)
</content>
</entry>
<entry>
<title>Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup</title>
<updated>2023-07-02T12:59:02+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2023-07-02T12:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=beb0e731de1c13ee0ee341965718b6350a48b34d'/>
<id>urn:sha1:beb0e731de1c13ee0ee341965718b6350a48b34d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '435a8ad86c7a33bd7ffb91c59039943408d3b6aa' into clippyup</title>
<updated>2023-05-20T13:39:26+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2023-05-20T13:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12cbb6ced8a848d1de68e7f0fe842217b9563ccc'/>
<id>urn:sha1:12cbb6ced8a848d1de68e7f0fe842217b9563ccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup</title>
<updated>2023-04-23T11:28:56+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2023-04-23T11:03:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4beb0a4bdf4c9547b00db232deab74406873d305'/>
<id>urn:sha1:4beb0a4bdf4c9547b00db232deab74406873d305</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup</title>
<updated>2022-12-29T13:28:34+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2022-12-29T13:28:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56ab392f028b1d5dab1c2eb2e4af37136915882c'/>
<id>urn:sha1:56ab392f028b1d5dab1c2eb2e4af37136915882c</id>
<content type='text'>
</content>
</entry>
</feed>
