<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, branch 1.87.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.87.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.87.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-27T18:29:06+00:00</updated>
<entry>
<title>Use `abs_diff` where applicable</title>
<updated>2025-03-27T18:29:06+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-03-27T18:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bec69704c0ee6b3c6b1854b104b964fc17d8c36f'/>
<id>urn:sha1:bec69704c0ee6b3c6b1854b104b964fc17d8c36f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not suggest using `-Zmacro-backtrace` for builtin macros</title>
<updated>2025-03-14T19:50:03+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-03-11T23:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0b8e13b59a68d63cf7083be5cd6dcca3abf18ff'/>
<id>urn:sha1:f0b8e13b59a68d63cf7083be5cd6dcca3abf18ff</id>
<content type='text'>
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
</content>
</entry>
<entry>
<title>Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.</title>
<updated>2025-03-11T02:14:21+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-11T01:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff0a5fe975bdf94ea6a42c96c20a3891a91e503c'/>
<id>urn:sha1:ff0a5fe975bdf94ea6a42c96c20a3891a91e503c</id>
<content type='text'>
It's no longer necessary now that `-Wunreachable_pub` is being passed.
</content>
</entry>
<entry>
<title>Revert "Use workspace lints for crates in `compiler/` #138084"</title>
<updated>2025-03-10T10:12:47+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-03-10T10:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=063ef18fdc10cb0eb49e1af855e1a8e807e73eed'/>
<id>urn:sha1:063ef18fdc10cb0eb49e1af855e1a8e807e73eed</id>
<content type='text'>
Revert &lt;https://github.com/rust-lang/rust/pull/138084&gt; to buy time to
consider options that avoids breaking downstream usages of cargo on
distributed `rustc-src` artifacts, where such cargo invocations fail due
to inability to inherit `lints` from workspace root manifest's
`workspace.lints` (this is only valid for the source rust-lang/rust
workspace, but not really the distributed `rustc-src` artifacts).

This breakage was reported in
&lt;https://github.com/rust-lang/rust/issues/138304&gt;.

This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing
changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
</content>
</entry>
<entry>
<title>Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxu</title>
<updated>2025-03-09T09:34:50+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-03-09T09:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48caf81484b50dca5a5cebb614899a3df81ca898'/>
<id>urn:sha1:48caf81484b50dca5a5cebb614899a3df81ca898</id>
<content type='text'>
Use workspace lints for crates in `compiler/`

This is nicer and hopefully less error prone than specifying lints via bootstrap.

r? ``@jieyouxu``
</content>
</entry>
<entry>
<title>Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compiler-errors</title>
<updated>2025-03-09T09:34:49+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-03-09T09:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c6662879b27f5161e95f39395e3c9513a7b97028'/>
<id>urn:sha1:c6662879b27f5161e95f39395e3c9513a7b97028</id>
<content type='text'>
compiler: Use `size_of` from the prelude instead of imported

Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. Apply this change across the compiler.

These functions were added to all preludes in Rust 1.80.

r? ``@compiler-errors``
</content>
</entry>
<entry>
<title>Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.</title>
<updated>2025-03-07T21:41:43+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-06T03:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a3e03392ef12508a3ce50875594ddedd1164ed7'/>
<id>urn:sha1:8a3e03392ef12508a3ce50875594ddedd1164ed7</id>
<content type='text'>
(Except for `rustc_codegen_cranelift`.)

It's no longer necessary now that `unreachable_pub` is in the workspace
lints.
</content>
</entry>
<entry>
<title>compiler: Use size_of from the prelude instead of imported</title>
<updated>2025-03-07T21:37:04+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-03-05T04:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38fad984c616cf4d10f653fa50c85cdc01083373'/>
<id>urn:sha1:38fad984c616cf4d10f653fa50c85cdc01083373</id>
<content type='text'>
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
</content>
</entry>
<entry>
<title>Make trimming logic work on more than one span at a time</title>
<updated>2025-03-07T17:55:08+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-02-28T00:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a04c47a0f3501c04b8932a4f65473dc9cfe660a3'/>
<id>urn:sha1:a04c47a0f3501c04b8932a4f65473dc9cfe660a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix multiline span start special case</title>
<updated>2025-03-07T17:55:08+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-02-27T22:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c75da0eda678afa4eb5f983796aa8a59e4d01a4e'/>
<id>urn:sha1:c75da0eda678afa4eb5f983796aa8a59e4d01a4e</id>
<content type='text'>
</content>
</entry>
</feed>
