<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_lint/src, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-31T15:19:40+00:00</updated>
<entry>
<title>Rollup merge of #144726 - jdonszelmann:move-attr-data-structures, r=lcnr</title>
<updated>2025-07-31T15:19:40+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jonathan@donsz.nl</email>
</author>
<published>2025-07-31T15:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26c28ee2ef1402f59cadf03417b05cdb892e7940'/>
<id>urn:sha1:26c28ee2ef1402f59cadf03417b05cdb892e7940</id>
<content type='text'>
merge rustc_attr_data_structures into rustc_hir

this move was discussed on zulip: [#t-compiler &gt; attribute parsing rework @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/attribute.20parsing.20rework/near/528530091)

Many PRs in the attribute rework depend on this move.
</content>
</entry>
<entry>
<title>remove rustc_attr_data_structures</title>
<updated>2025-07-31T12:19:27+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-07-31T09:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645'/>
<id>urn:sha1:e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deduplicate `IntTy`/`UintTy`/`FloatTy`.</title>
<updated>2025-07-31T09:56:11+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-07-31T01:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1901dde97bdff7b6b308c41d751e826df4eb2016'/>
<id>urn:sha1:1901dde97bdff7b6b308c41d751e826df4eb2016</id>
<content type='text'>
There are identical definitions in `rustc_type_ir` and `rustc_ast`. This
commit removes them and places a single definition in `rustc_ast_ir`.
This requires adding `rust_span` as a dependency of `rustc_ast_ir`, but
means a bunch of silly conversion functions can be removed.

The one annoying wrinkle is that the old version had differences in
their `Debug` impls, e.g. one printed `u32` while the other printed
`U32`. Some compiler error messages rely on the former (yuk), and some
clippy output depends on the latter. So the commit also changes clippy
to not rely on `Debug` and just implement what it needs itself.
</content>
</entry>
<entry>
<title>Create two methods to fix `find_oldest_ancestor_in_same_ctxt`</title>
<updated>2025-07-29T06:54:47+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-21T16:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81176b1a6c3a40b2db42821f209cf834befad77e'/>
<id>urn:sha1:81176b1a6c3a40b2db42821f209cf834befad77e</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Rename impl_of_method -&gt; impl_of_assoc</title>
<updated>2025-07-28T14:54:53+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-07-25T00:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b43164cef643957f9e1cd20dffdbb736f3f3c298'/>
<id>urn:sha1:b43164cef643957f9e1cd20dffdbb736f3f3c298</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename trait_of_item -&gt; trait_of_assoc</title>
<updated>2025-07-28T14:53:50+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-07-25T00:05:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=172af038a733020ec487d57a593ddb27ce16c325'/>
<id>urn:sha1:172af038a733020ec487d57a593ddb27ce16c325</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #144469 - Kivooeo:chains-cleanup, r=SparrowLii</title>
<updated>2025-07-28T05:25:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-28T05:25:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d242a8bd5a73f633ba1ec5aacf19acf35a3c747d'/>
<id>urn:sha1:d242a8bd5a73f633ba1ec5aacf19acf35a3c747d</id>
<content type='text'>
Some `let chains` clean-up

Not sure if this kind of clean-up is welcoming because of size, but I decided to try out one

r? compiler
</content>
</entry>
<entry>
<title>use let chains in hir, lint, mir</title>
<updated>2025-07-28T01:10:14+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-26T01:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bae38bad7803be7fdf1878188da9650f82548016'/>
<id>urn:sha1:bae38bad7803be7fdf1878188da9650f82548016</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144331 - jplatte:matches-allow-non_exhaustive_omitted_patterns, r=Nadrieril</title>
<updated>2025-07-26T13:27:58+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-26T13:27:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9541a2bf86ed4d620abcf2f4eee3d0ce8e0e8cd'/>
<id>urn:sha1:c9541a2bf86ed4d620abcf2f4eee3d0ce8e0e8cd</id>
<content type='text'>
Disable non_exhaustive_omitted_patterns within matches! macro

Closes rust-lang/rust#117304.

I believe I can skip all of the bootstrap stuff mentioned in https://github.com/rust-lang/rust/issues/117304#issuecomment-1784414453 due to https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/, right?

cc `@Jules-Bertholet`
</content>
</entry>
<entry>
<title>Rollup merge of #143698 - benschulz:unused-parens-2, r=lcnr,compiler-errors</title>
<updated>2025-07-26T07:19:28+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-07-26T07:19:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75ed6de1eef96753da3497c0f6e2623cc86fc240'/>
<id>urn:sha1:75ed6de1eef96753da3497c0f6e2623cc86fc240</id>
<content type='text'>
Fix unused_parens false positive

Resolves rust-lang/rust#143653.

The "no bounds exception" was indiscriminately set to `OneBound` for referents and pointees. However, if the reference or pointer type itself appears in no-bounds position, any constraints it has must be propagated.

```rust
// unused parens: not in no-bounds position
fn foo(_: Box&lt;(dyn Send)&gt;) {}

// unused parens: in no-bounds position, but one-bound exception applies
fn bar(_: Box&lt;dyn Fn(&amp;u32) -&gt; &amp;(dyn Send)&gt;) {}

// *NOT* unused parens: in no-bounds position, but no exceptions to be made
fn baz(_: Box&lt;dyn Fn(&amp;u32) -&gt; &amp;(dyn Send) + Send&gt;) {}
```
</content>
</entry>
</feed>
