<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/tools/clippy/tests/ui/same_name_method.stderr, branch 1.82.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.82.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.82.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-06-25T15:50:48+00:00</updated>
<entry>
<title>RFC 2383: Stabilize `lint_reasons` in Clippy :paperclips:</title>
<updated>2024-06-25T15:50:48+00:00</updated>
<author>
<name>xFrednet</name>
<email>xFrednet@gmail.com</email>
</author>
<published>2024-02-10T22:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48310525bd79636964ff09bff63c89bf6c9c2dda'/>
<id>urn:sha1:48310525bd79636964ff09bff63c89bf6c9c2dda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update</title>
<updated>2024-02-27T14:50:17+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2024-02-27T14:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad7513e8743647dc93f0f3703cce9b9f1403df08'/>
<id>urn:sha1:ad7513e8743647dc93f0f3703cce9b9f1403df08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't hash lints differently to non-lints.</title>
<updated>2024-01-30T21:25:29+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-01-30T05:57:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4225a1e186afe39c1ae81c5065d24287d6d49fb9'/>
<id>urn:sha1:4225a1e186afe39c1ae81c5065d24287d6d49fb9</id>
<content type='text'>
`Diagnostic::keys`, which is used for hashing and equating diagnostics,
has a surprising behaviour: it ignores children, but only for lints.
This was added in #88493 to fix some duplicated diagnostics, but it
doesn't seem necessary any more.

This commit removes the special case and only four tests have changed
output, with additional errors. And those additional errors aren't
exact duplicates, they're just similar. For example, in
src/tools/clippy/tests/ui/same_name_method.rs we currently have this
error:
```
error: method's name is the same as an existing method in a trait
  --&gt; $DIR/same_name_method.rs:75:13
   |
LL |             fn foo() {}
   |             ^^^^^^^^^^^
   |
note: existing `foo` defined here
  --&gt; $DIR/same_name_method.rs:79:9
   |
LL |         impl T1 for S {}
   |         ^^^^^^^^^^^^^^^^
```
and with this change we also get this error:
```
error: method's name is the same as an existing method in a trait
  --&gt; $DIR/same_name_method.rs:75:13
   |
LL |             fn foo() {}
   |             ^^^^^^^^^^^
   |
note: existing `foo` defined here
  --&gt; $DIR/same_name_method.rs:81:9
   |
LL |         impl T2 for S {}
   |         ^^^^^^^^^^^^^^^^
```
I think printing this second argument is reasonable, possibly even
preferable to hiding it. And the other cases are similar.
</content>
</entry>
<entry>
<title>Adjust clippy tests with new rustc help suggestion for lints</title>
<updated>2023-09-04T12:22:02+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2023-08-01T12:02:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9190e960e1c6b2c2e73c23e85545656ab1577761'/>
<id>urn:sha1:9190e960e1c6b2c2e73c23e85545656ab1577761</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>bless clippy</title>
<updated>2022-10-01T10:03:06+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-09-22T16:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d388dc390bbf520c04b2d76f19045bb0eaa1a57'/>
<id>urn:sha1:9d388dc390bbf520c04b2d76f19045bb0eaa1a57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup</title>
<updated>2022-06-16T15:39:06+00:00</updated>
<author>
<name>flip1995</name>
<email>hello@philkrones.com</email>
</author>
<published>2022-06-16T15:39:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f605496e75141b473827f3b8d5cdeb17e9f3408'/>
<id>urn:sha1:7f605496e75141b473827f3b8d5cdeb17e9f3408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor HIR item-like traversal (part 1)</title>
<updated>2022-04-08T15:59:59+00:00</updated>
<author>
<name>Miguel Guarniz</name>
<email>mi9uel9@gmail.com</email>
</author>
<published>2022-04-03T19:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b73b4de982a16e8819e804cb648ff3ea63d22028'/>
<id>urn:sha1:b73b4de982a16e8819e804cb648ff3ea63d22028</id>
<content type='text'>
- Create hir_crate_items query which traverses tcx.hir_crate(()).owners to return a hir::ModuleItems
- use tcx.hir_crate_items in tcx.hir().items() to return an iterator of hir::ItemId
- add par_items(impl Fn(hir::ItemId)) to traverse all items in parallel

Signed-off-by: Miguel Guarniz &lt;mi9uel9@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup</title>
<updated>2021-12-06T11:33:31+00:00</updated>
<author>
<name>flip1995</name>
<email>philipp.krones@embecosm.com</email>
</author>
<published>2021-12-06T11:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f004a1b3fda522694f9857a4ae95eb9ef7baa0c4'/>
<id>urn:sha1:f004a1b3fda522694f9857a4ae95eb9ef7baa0c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup</title>
<updated>2021-09-28T17:03:12+00:00</updated>
<author>
<name>flip1995</name>
<email>philipp.krones@embecosm.com</email>
</author>
<published>2021-09-28T17:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0fb9db6482b534473bd6d54013937580688ff3e'/>
<id>urn:sha1:d0fb9db6482b534473bd6d54013937580688ff3e</id>
<content type='text'>
</content>
</entry>
</feed>
