| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -4/+4 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-27 | fix failure to detect a too-big-type after adding padding | Ralf Jung | -0/+26 | |
| 2023-10-25 | Work around the fact that `check_mod_type_wf` may spuriously return ↵ | Oli Scherer | -3/+23 | |
| `ErrorGuaranteed`, even if that error is only emitted by `check_modwitem_types` | ||||
| 2023-10-20 | Avoid a `track_errors` by bubbling up most errors from `check_well_formed` | Oli Scherer | -13/+4 | |
| 2023-09-11 | Rollup merge of #115708 - RalfJung:homogeneous, r=davidtwco | Matthias Krüger | -0/+76 | |
| fix homogeneous_aggregate not ignoring some ZST This is an ABI-breaking change, because it fixes bugs in our ABI code. I'm not sure what that means for this PR, we don't really have a process for such changes, do we? I can only hope nobody relied on the old buggy behavior. Fixes https://github.com/rust-lang/rust/issues/115664 | ||||
| 2023-09-11 | Disentangle `Debug` and `Display` for `Ty`. | Nicholas Nethercote | -5/+5 | |
| 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-10 | fix homogeneous_aggregate not ignoring some 1-ZST | Ralf Jung | -0/+76 | |
| 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/+14 | |
| 2023-09-06 | rustc_layout/abi: error when attribute is applied to the wrong thing | Ralf Jung | -12/+31 | |
| 2023-08-29 | Rollup merge of #111580 - atsuzaki:layout-ice, r=oli-obk | Matthias Krüger | -0/+42 | |
| Don't ICE on layout computation failure Fixes #111176 regression. r? `@oli-obk` | ||||
| 2023-08-29 | there seems to be no reason to treat ZST specially in these cases | Ralf Jung | -2/+2 | |
| 2023-08-29 | rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient ↵ | Ralf Jung | -0/+58 | |
| alignment | ||||
| 2023-08-28 | Don't ICE on layout computation failure | Katherine Philip | -0/+42 | |
| 2023-08-27 | add rustc_abi debugging attribute | Ralf Jung | -19/+19 | |
| 2023-07-29 | Change default panic handler message format. | Mara Bos | -0/+1 | |
| 2023-07-27 | Don't attempt to compute layout of type referencing error | Michael Goulet | -0/+17 | |
| 2023-07-22 | Rollup merge of #113957 - Urgau:regression-test-issue-113941, r=dtolnay | Matthias Krüger | -0/+13 | |
| Add regression test for issue #113941 - naive layout isn't refined This PR adds a regression test for issue #113941 - `the naive layout isn't refined by the actual layout` based on the minimized repro https://github.com/rust-lang/rust/issues/113941#issuecomment-1646446769. | ||||
| 2023-07-22 | Add regression test for issue #113941 - naive layout isn't refined | Urgau | -0/+13 | |
| 2023-07-21 | Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" | David Tolnay | -2/+2 | |
| This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786. | ||||
| 2023-07-21 | Track (partial) niche information in `NaiveLayout` | Moulins | -2/+2 | |
| Still more complexity, but this allows computing exact `NaiveLayout`s for null-optimized enums, and thus allows calls like `transmute::<Option<&T>, &U>()` to work in generic contexts. | ||||
| 2023-07-21 | properly handle arrays and wide pointers in `naive_layout_of` | Moulins | -1/+1 | |
| 2023-07-21 | add `naive_layout_of` query | Moulins | -1/+1 | |
| 2023-07-14 | i686-windows: make requested alignment > 4 special case apply transitively | Erik Desjardins | -74/+74 | |
| 2023-07-10 | aarch64-linux: properly handle 128bit aligned aggregates | Erik Desjardins | -0/+74 | |
| 2023-07-10 | repr(align) <= 4 should still be byval | Erik Desjardins | -74/+86 | |
| 2023-07-10 | bless layout tests for has_repr_align in debug output | Erik Desjardins | -0/+74 | |
| 2023-06-19 | Better error message | Michael Goulet | -1/+1 | |
| 2023-06-19 | Don't ICE on unnormalized struct tail in layout computation | Michael Goulet | -0/+41 | |
| 2023-06-13 | Add test case for unsizing with niche | Wesley Wiser | -0/+30 | |
| 2023-05-29 | Make struct layout not depend on unsizeable tail | Lukas Markeffsky | -0/+25 | |
| 2023-05-05 | Add additional test case for repr(packed) allowing union abi opt to kick in. | Luqman Aden | -2/+33 | |
| 2023-05-05 | Add test cases for #104802. | Luqman Aden | -11/+120 | |
| 2023-05-05 | Do not use scalar layout if there are ZSTs with alignment > 1 | Oli Scherer | -1/+115 | |
| 2023-04-27 | bless tests | The 8472 | -20/+20 | |
| 2023-04-12 | Special-case item attributes in the suggestion output | Esteban Küber | -2/+0 | |
| 2023-04-12 | Tweak output for 'add line' suggestion | Esteban Küber | -2/+4 | |
| 2023-03-13 | Layout of `&dyn Trait<[type error]>` is still wide | Michael Goulet | -0/+22 | |
| 2023-02-07 | Tweak ICE message | Esteban Küber | -1/+1 | |
| Modify main message to be more conversational and emit one fewer note. | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+2969 | |
