about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorNikolai Vazquez <hello@nikolaivazquez.com>2022-06-03 12:58:36 -0400
committerNikolai Vazquez <hello@nikolaivazquez.com>2022-06-03 12:58:36 -0400
commit24b1b7c8a8dbd4af9556fb3748f6d37d5755d39a (patch)
treed92c54e568e58415d484b9a43ba3de82a9c80188 /compiler/rustc_codegen_gcc
parentfd38f663cd2e4880e09430dc56b91497b3f97412 (diff)
downloadrust-24b1b7c8a8dbd4af9556fb3748f6d37d5755d39a.tar.gz
rust-24b1b7c8a8dbd4af9556fb3748f6d37d5755d39a.zip
Fix unsized field order
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs b/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
index 5ca63f270ea..14fd9eeffa6 100644
--- a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
+++ b/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
@@ -48,8 +48,8 @@ struct NoisyDrop {
 }
 
 struct NoisyDropUnsized {
-    text: str,
     inner: NoisyDropInner,
+    text: str,
 }
 
 struct NoisyDropInner;