<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/tools/clippy/tests/ui/useless_conversion.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-21T13:15:38+00:00</updated>
<entry>
<title>Merge commit 'cadf98bb7d783e2ea3572446c3f80d3592ec5f86' into clippy-subtree-update</title>
<updated>2025-05-21T13:15:38+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-05-21T13:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0c1ed3b93072a373b2fef3172e1a000aca2ffc1'/>
<id>urn:sha1:a0c1ed3b93072a373b2fef3172e1a000aca2ffc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '9f9a822509e5ad3e560cbbe830d1013f936fca28' into clippy-subtree-update</title>
<updated>2025-02-28T22:27:09+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-02-28T22:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=65eb2b22371f506478a6d4c57bcadb15da1fbedc'/>
<id>urn:sha1:65eb2b22371f506478a6d4c57bcadb15da1fbedc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '51d49c1ae2785b24ef18a46ef233fc1d91844666' into clippy-subtree-update</title>
<updated>2025-01-28T18:33:54+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-01-28T18:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4288227241097d2f089dc92dc030f11fabde4be8'/>
<id>urn:sha1:4288227241097d2f089dc92dc030f11fabde4be8</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
