<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/layout/debug.stderr, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-11T02:51:07+00:00</updated>
<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>there seems to be no reason to treat ZST specially in these cases</title>
<updated>2023-08-29T06:58:58+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-08-27T16:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf91321e0fc9cb9cd921263ac473c5255dc8cc14'/>
<id>urn:sha1:bf91321e0fc9cb9cd921263ac473c5255dc8cc14</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>i686-windows: make requested alignment &gt; 4 special case apply transitively</title>
<updated>2023-07-14T21:48:13+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-07-14T21:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2daacf5af965090b885287f1d40e13ff5db724cf'/>
<id>urn:sha1:2daacf5af965090b885287f1d40e13ff5db724cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>aarch64-linux: properly handle 128bit aligned aggregates</title>
<updated>2023-07-10T23:19:40+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-06-15T02:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1e764cb3bc961a4395164a36c4e0cfd57e681a1'/>
<id>urn:sha1:d1e764cb3bc961a4395164a36c4e0cfd57e681a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>repr(align) &lt;= 4 should still be byval</title>
<updated>2023-07-10T23:19:40+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-06-11T21:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e933b4e26947b04da70589110dacbdb2461e27d'/>
<id>urn:sha1:7e933b4e26947b04da70589110dacbdb2461e27d</id>
<content type='text'>
</content>
</entry>
</feed>
