<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_passes/src/layout_test.rs, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-23T21:05:28+00:00</updated>
<entry>
<title>Remove `Session` methods that duplicate `DiagCtxt` methods.</title>
<updated>2023-12-23T21:05:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-18T11:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99472c7049783605444ab888a97059d0cce93a12'/>
<id>urn:sha1:99472c7049783605444ab888a97059d0cce93a12</id>
<content type='text'>
Also add some `dcx` methods to types that wrap `TyCtxt`, for easier
access.
</content>
</entry>
<entry>
<title>Reorder fullfillment errors to keep more interesting ones first</title>
<updated>2023-10-04T02:04:14+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-08-14T13:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91b9ffeab0f8c491c81cd976c0d23d947cd6d12f'/>
<id>urn:sha1:91b9ffeab0f8c491c81cd976c0d23d947cd6d12f</id>
<content type='text'>
In `report_fullfillment_errors` push back `T: Sized`, `T: WellFormed`
and coercion errors to the end of the list. The pre-existing
deduplication logic eliminates redundant errors better that way, keeping
the resulting output with fewer errors than before, while also having
more detail.
</content>
</entry>
<entry>
<title>Don't store lazyness in DefKind</title>
<updated>2023-09-26T02:53:59+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-09-26T02:15:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6ce9ce115e8d0859e378b411966905c8b815845'/>
<id>urn:sha1:d6ce9ce115e8d0859e378b411966905c8b815845</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disentangle `Debug` and `Display` for `Ty`.</title>
<updated>2023-09-11T02:51:07+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-09-07T05:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64ea8eb1a96a993f342551b2f633e55207521d99'/>
<id>urn:sha1:64ea8eb1a96a993f342551b2f633e55207521d99</id>
<content type='text'>
The `Debug` impl for `Ty` just calls the `Display` impl for `Ty`. This
is surprising and annoying. In particular, it means `Debug` doesn't show
as much information as `Debug` for `TyKind` does. And `Debug` is used in
some user-facing error messages, which seems bad.

This commit changes the `Debug` impl for `Ty` to call the `Debug` impl
for `TyKind`. It also does a number of follow-up changes to preserve
existing output, many of which involve inserting
`with_no_trimmed_paths!` calls. It also adds `Display` impls for
`UserType` and `Canonical`.

Some tests have changes to expected output:
- Those that use the `rustc_abi(debug)` attribute.
- Those that use the `EMIT_MIR` annotation.

In each case the output is slightly uglier than before. This isn't
ideal, but it's pretty weird (particularly for the attribute) that the
output is using `Debug` in the first place. They're fairly obscure
attributes (I hadn't heard of them) so I'm not worried by this.

For `async-is-unwindsafe.stderr`, there is one line that now lacks a
full path. This is a consistency improvement, because all the other
mentions of `Context` in this test lack a path.
</content>
</entry>
<entry>
<title>better spans for WF errors</title>
<updated>2023-09-09T16:00:13+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-09T15:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bd8bcb8bb431462858d71b94786fe90cfa7faed'/>
<id>urn:sha1:3bd8bcb8bb431462858d71b94786fe90cfa7faed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use hir_crate_items(()).definitions() instead of hir().items()</title>
<updated>2023-09-09T15:39:53+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-09T15:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c2a7e684cd43f449bc40a696dbf9b69ebccc33c3'/>
<id>urn:sha1:c2a7e684cd43f449bc40a696dbf9b69ebccc33c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_layout, rustc_abi: make sure the types are well-formed</title>
<updated>2023-09-09T15:32:12+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-09T14:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a5b031136702068e4a82d384fec1e66503974064'/>
<id>urn:sha1:a5b031136702068e4a82d384fec1e66503974064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_layout/abi: error when attribute is applied to the wrong thing</title>
<updated>2023-09-06T09:11:06+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-02T12:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e66913f8fefd54a37c0a8b86b27b7b5117360be0'/>
<id>urn:sha1:e66913f8fefd54a37c0a8b86b27b7b5117360be0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add rustc_abi debugging attribute</title>
<updated>2023-08-27T09:55:49+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-08-25T21:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=abe2148aeef3a1ee4622ae8df43370aa749c7b4e'/>
<id>urn:sha1:abe2148aeef3a1ee4622ae8df43370aa749c7b4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove redundant var rebindings</title>
<updated>2023-08-19T12:09:30+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-08-19T12:09:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=269803ee56146c1739ec8f7169ad8fe0f90fb30c'/>
<id>urn:sha1:269803ee56146c1739ec8f7169ad8fe0f90fb30c</id>
<content type='text'>
</content>
</entry>
</feed>
