about summary refs log tree commit diff
path: root/tests/ui/abi/debug.stderr
AgeCommit message (Collapse)AuthorLines
2023-09-17Rollup merge of #115654 - RalfJung:pass-mode-cast, r=compiler-errorsDylan DPC-2/+2
improve PassMode docs
2023-09-15special case `TyAndLayout` debug implBoxy-15/+15
2023-09-15clarify PassMode::Indirect as wellRalf Jung-2/+2
2023-09-11Disentangle `Debug` and `Display` for `Ty`.Nicholas Nethercote-15/+15
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.
2023-09-09better spans for WF errorsRalf Jung-2/+2
2023-09-09use hir_crate_items(()).definitions() instead of hir().items()Ralf Jung-94/+94
2023-09-09rustc_layout, rustc_abi: make sure the types are well-formedRalf Jung-1/+11
2023-09-08also ensure that size and alignment are the sameRalf Jung-3/+151
2023-09-08accept some differences for rustc_abi(assert_eq), so that we can test more ↵Ralf Jung-1/+290
things to be compatible
2023-09-07add support for rustc_abi(assert_eq) and use it to test some ↵Ralf Jung-1/+147
repr(transparent) cases
2023-09-06rustc_layout/abi: error when attribute is applied to the wrong thingRalf Jung-5/+17
2023-09-06rustc_abi: also support debugging function pointersRalf Jung-6/+100
2023-08-27add rustc_abi debugging attributeRalf Jung-0/+260