about summary refs log tree commit diff
path: root/tests/ui/layout/debug.rs
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2025-02-16 20:26:07 +0100
committerLukas Markeffsky <@>2025-02-18 13:22:45 +0100
commit802b7abab736166fcb12c2567c743e1da6d6806c (patch)
tree1889f9b4c4eda7a0641cc8c89d1750700d9f9963 /tests/ui/layout/debug.rs
parentd0a5bbbb8e394095848e078a3fff72beaad14209 (diff)
downloadrust-802b7abab736166fcb12c2567c743e1da6d6806c.tar.gz
rust-802b7abab736166fcb12c2567c743e1da6d6806c.zip
clean up layout error diagnostics
- group the fluent slugs together
- reword (internal-only) "too generic" error to be more in line with
  the other errors
Diffstat (limited to 'tests/ui/layout/debug.rs')
-rw-r--r--tests/ui/layout/debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/layout/debug.rs b/tests/ui/layout/debug.rs
index c0adf9ec677..b87a1d2031d 100644
--- a/tests/ui/layout/debug.rs
+++ b/tests/ui/layout/debug.rs
@@ -86,4 +86,4 @@ union EmptyUnion {} //~ ERROR: has an unknown layout
 // Test the error message of `LayoutError::TooGeneric`
 // (this error is never emitted to users).
 #[rustc_layout(debug)]
-type TooGeneric<T> = T; //~ ERROR: does not have a fixed size
+type TooGeneric<T> = T; //~ ERROR: does not have a fixed layout