| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-09-11 | Disentangle `Debug` and `Display` for `Ty`. | Nicholas Nethercote | -2/+2 | |
| 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-09 | better spans for WF errors | Ralf Jung | -2/+2 | |
| 2023-09-09 | use hir_crate_items(()).definitions() instead of hir().items() | Ralf Jung | -6/+6 | |
| 2023-09-09 | rustc_layout, rustc_abi: make sure the types are well-formed | Ralf Jung | -1/+11 | |
| 2023-09-06 | rustc_layout/abi: error when attribute is applied to the wrong thing | Ralf Jung | -10/+22 | |
| 2023-08-29 | there seems to be no reason to treat ZST specially in these cases | Ralf Jung | -2/+2 | |
| 2023-08-27 | add rustc_abi debugging attribute | Ralf Jung | -18/+18 | |
| 2023-07-14 | i686-windows: make requested alignment > 4 special case apply transitively | Erik Desjardins | -18/+18 | |
| 2023-07-10 | aarch64-linux: properly handle 128bit aligned aggregates | Erik Desjardins | -0/+18 | |
| 2023-07-10 | repr(align) <= 4 should still be byval | Erik Desjardins | -18/+18 | |
| 2023-07-10 | bless layout tests for has_repr_align in debug output | Erik Desjardins | -0/+18 | |
| 2023-05-05 | Add additional test case for repr(packed) allowing union abi opt to kick in. | Luqman Aden | -2/+29 | |
| 2023-05-05 | Add test cases for #104802. | Luqman Aden | -10/+98 | |
| 2023-05-05 | Do not use scalar layout if there are ZSTs with alignment > 1 | Oli Scherer | -1/+94 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+311 | |
