<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, branch 1.75.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.75.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.75.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-11-07T21:57:57+00:00</updated>
<entry>
<title>rustc: minor changes suggested by clippy perf lints.</title>
<updated>2023-11-07T21:57:57+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-11-06T02:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b3733e5a4b625a8b4aa78ed31e90c756b0bc048'/>
<id>urn:sha1:1b3733e5a4b625a8b4aa78ed31e90c756b0bc048</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't emit delayed good-path bugs on panic</title>
<updated>2023-10-30T14:14:43+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-10-30T14:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8076414f89275786ae04035151d54bb5b47bde9f'/>
<id>urn:sha1:8076414f89275786ae04035151d54bb5b47bde9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stash and cancel cycle errors for auto trait leakage in opaques</title>
<updated>2023-10-26T17:58:02+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-10-26T17:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1836c1fbbdf0d6902da9a2d2473dbc72f371eb2e'/>
<id>urn:sha1:1836c1fbbdf0d6902da9a2d2473dbc72f371eb2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #116962 - estebank:issue-63835, r=oli-obk</title>
<updated>2023-10-20T10:52:24+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-10-20T10:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f31316f7a99785ae6958110af095beadb08038ea'/>
<id>urn:sha1:f31316f7a99785ae6958110af095beadb08038ea</id>
<content type='text'>
Do not bold main message in `--error-format=short`

Fix #63835.

Before:

&lt;img width="484" alt="Screenshot 2023-10-19 at 3 52 53 PM" src="https://github.com/rust-lang/rust/assets/1606434/9bd6cbd5-a4ce-4cc3-8c5f-60a8d3ad38da"&gt;

After:

&lt;img width="492" alt="Screenshot 2023-10-19 at 3 52 32 PM" src="https://github.com/rust-lang/rust/assets/1606434/0cf2417a-08f2-4074-860c-a88a838a4209"&gt;
</content>
</entry>
<entry>
<title>Do not bold main message in `--error-format=short`</title>
<updated>2023-10-19T22:52:30+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-10-19T22:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd49590ee0585e106b073a4aa57df9e29c6067c4'/>
<id>urn:sha1:fd49590ee0585e106b073a4aa57df9e29c6067c4</id>
<content type='text'>
Fix #63835.
</content>
</entry>
<entry>
<title>Fix duplicate labels emitted in `render_multispan_macro_backtrace()`</title>
<updated>2023-10-19T02:33:40+00:00</updated>
<author>
<name>Gurinder Singh</name>
<email>frederick.the.fool@gmail.com</email>
</author>
<published>2023-10-19T02:33:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0091166b5767c45152318abcf7b9c97cc268e1b3'/>
<id>urn:sha1:0091166b5767c45152318abcf7b9c97cc268e1b3</id>
<content type='text'>
Using hash set instead of vec to weed out duplicates
</content>
</entry>
<entry>
<title>Rollup merge of #115196 - chenyukang:yukang-fix-86094, r=estebank</title>
<updated>2023-10-16T04:26:20+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-10-16T04:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1de910fc0d66c3321037b749a57d88d7241518c7'/>
<id>urn:sha1:1de910fc0d66c3321037b749a57d88d7241518c7</id>
<content type='text'>
Suggest adding `return` if the for semi which can coerce to the fn return type

Fixes #86094
r? `@estebank`
</content>
</entry>
<entry>
<title>Suggest adding `return` if the type of unused semi return value can coerce to the fn return type</title>
<updated>2023-10-15T14:57:03+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2023-08-19T16:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25d38c48c3c7d06c14ae65e964a114b89c09756e'/>
<id>urn:sha1:25d38c48c3c7d06c14ae65e964a114b89c09756e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstrieb</title>
<updated>2023-10-15T13:23:55+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-10-15T13:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a48396984ae7637aa6cbcfad645ef6a48a00f088'/>
<id>urn:sha1:a48396984ae7637aa6cbcfad645ef6a48a00f088</id>
<content type='text'>
Format all the let-chains in compiler crates

Since rust-lang/rustfmt#5910 has landed, soon we will have support for formatting let-chains (as soon as rustfmt syncs and beta gets bumped).

This PR applies the changes [from master rustfmt to rust-lang/rust eagerly](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/out.20formatting.20of.20prs/near/374997516), so that the next beta bump does not have to deal with a 200+ file diff and can remain concerned with other things like `cfg(bootstrap)` -- #113637 was a pain to land, for example, because of let-else.

I will also add this commit to the ignore list after it has landed.

The commands that were run -- I'm not great at bash-foo, but this applies rustfmt to every compiler crate, and then reverts the two crates that should probably be formatted out-of-tree.
```
~/rustfmt $ ls -1d ~/rust/compiler/* | xargs -I@ cargo run --bin rustfmt -- `@/src/lib.rs` --config-path ~/rust --edition=2021 # format all of the compiler crates
~/rust $ git checkout HEAD -- compiler/rustc_codegen_{gcc,cranelift} # revert changes to cg-gcc and cg-clif
```

cc `@rust-lang/rustfmt`
r? `@WaffleLapkin` or `@Nilstrieb` who said they may be able to review this purely mechanical PR :&gt;

cc `@Mark-Simulacrum` and `@petrochenkov,` who had some thoughts on the order of operations with big formatting changes in https://github.com/rust-lang/rust/pull/95262#issue-1178993801. I think the situation has changed since then, given that let-chains support exists on master rustfmt now, and I'm fairly confident that this formatting PR should land even if *bootstrap* rustfmt doesn't yet format let-chains in order to lessen the burden of the next beta bump.
</content>
</entry>
<entry>
<title>Format all the let chains in compiler</title>
<updated>2023-10-13T08:59:36+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-10-13T08:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2d2184edea578109a48ec3d8decbee5948e8f35'/>
<id>urn:sha1:b2d2184edea578109a48ec3d8decbee5948e8f35</id>
<content type='text'>
</content>
</entry>
</feed>
