Skip to content

Commit 24b1b7c

Browse files
committed
Fix unsized field order
1 parent fd38f66 commit 24b1b7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ struct NoisyDrop {
5656
}
5757

5858
struct NoisyDropUnsized {
59-
text: str,
6059
inner: NoisyDropInner,
60+
text: str,
6161
}
6262

6363
struct NoisyDropInner;

compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ struct NoisyDrop {
4848
}
4949

5050
struct NoisyDropUnsized {
51-
text: str,
5251
inner: NoisyDropInner,
52+
text: str,
5353
}
5454

5555
struct NoisyDropInner;

0 commit comments

Comments
 (0)