<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, branch 1.86.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.86.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.86.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-14T08:44:10+00:00</updated>
<entry>
<title>Trim suggestion parts to the subset that is purely additive</title>
<updated>2025-02-14T08:44:10+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-13T03:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d71251cf9e40326461f90f8ff9a7024706aea87'/>
<id>urn:sha1:6d71251cf9e40326461f90f8ff9a7024706aea87</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Consider add-prefix replacements too</title>
<updated>2025-02-14T08:27:17+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-13T03:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6406dfd4efceb6f713e503aecda587304135ed9'/>
<id>urn:sha1:f6406dfd4efceb6f713e503aecda587304135ed9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use underline suggestions for purely 'additive' replacements</title>
<updated>2025-02-14T08:27:13+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-13T02:54:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b480a9214a7037813d29bc04d9e9dbe92ce10cf3'/>
<id>urn:sha1:b480a9214a7037813d29bc04d9e9dbe92ce10cf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiler: replace ExternAbi::name calls with formatters</title>
<updated>2025-02-12T03:42:47+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-02-12T03:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32fd1a7b7205d1f8ccf168c22dada83ea38e3adb'/>
<id>urn:sha1:32fd1a7b7205d1f8ccf168c22dada83ea38e3adb</id>
<content type='text'>
Most of these just format the ABI string, so... just format ExternAbi?
This makes it more consistent and less jank when we can do it.
</content>
</entry>
<entry>
<title>Rollup merge of #136847 - nnethercote:simplify-intra-crate-quals, r=oli-obk</title>
<updated>2025-02-11T17:04:49+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-11T17:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=89ee41cc4c9c19d56f6c30da5c8883f87019a90b'/>
<id>urn:sha1:89ee41cc4c9c19d56f6c30da5c8883f87019a90b</id>
<content type='text'>
Simplify intra-crate qualifiers.

The following is a weird pattern for a file within `rustc_middle`:
```
use rustc_middle::aaa;
use crate::bbb;
```
More sensible and standard would be this:
```
use crate::{aaa, bbb};
```
I.e. we generally prefer using `crate::` to using a crate's own name. (Exceptions are things like in macros where `crate::` doesn't work because the macro is used in multiple crates.)

This commit fixes a bunch of these weird qualifiers.

r? `@jieyouxu`
</content>
</entry>
<entry>
<title>Simplify intra-crate qualifiers.</title>
<updated>2025-02-11T03:59:13+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-11T02:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af6020320d32fb3491b8d30b580f675a2e1d16a6'/>
<id>urn:sha1:af6020320d32fb3491b8d30b580f675a2e1d16a6</id>
<content type='text'>
The following is a weird pattern for a file within `rustc_middle`:
```
use rustc_middle::aaa;
use crate::bbb;
```
More sensible and standard would be this:
```
use crate::{aaa, bbb};
```
I.e. we generally prefer using `crate::` to using a crate's own name.
(Exceptions are things like in macros where `crate::` doesn't work
because the macro is used in multiple crates.)

This commit fixes a bunch of these weird qualifiers.
</content>
</entry>
<entry>
<title>Show diff suggestion format on verbose replacement</title>
<updated>2025-02-10T20:21:39+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-09T22:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d'/>
<id>urn:sha1:f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d</id>
<content type='text'>
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --&gt; $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
</content>
</entry>
<entry>
<title>Rustfmt</title>
<updated>2025-02-08T22:12:13+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-08T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcae03369abb4c2cc180cd5a49e1f4440a81300'/>
<id>urn:sha1:1fcae03369abb4c2cc180cd5a49e1f4440a81300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #136636 - bjorn3:error_cleanup, r=compiler-errors</title>
<updated>2025-02-06T20:56:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-06T20:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79e5424e313cb6fc725f738a4ac1d3220932d3cd'/>
<id>urn:sha1:79e5424e313cb6fc725f738a4ac1d3220932d3cd</id>
<content type='text'>
Couple of minor cleanups to the diagnostic infrastructure
</content>
</entry>
<entry>
<title>Rollup merge of #136580 - bjorn3:miri_fixes, r=lqd</title>
<updated>2025-02-06T20:56:27+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-06T20:56:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3eb1ef836eaece6dd52ce0b27f9983b8c6b20ee1'/>
<id>urn:sha1:3eb1ef836eaece6dd52ce0b27f9983b8c6b20ee1</id>
<content type='text'>
Couple of changes to run rustc in miri

This is not the full set of patches required to run rustc in miri, but it is the fast majority of the changes to rustc itself. There is also a change to the jobserver crate necessary and on arm64 a change to the memchr crate. Running rustc in miri has already found some UB: https://github.com/rust-lang/rust/pull/136579

cc https://github.com/rust-lang/rust/issues/135870#issuecomment-2612470540
</content>
</entry>
</feed>
