mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Fix unsized field order
This commit is contained in:
parent
fd38f663cd
commit
24b1b7c8a8
@ -56,8 +56,8 @@ struct NoisyDrop {
|
||||
}
|
||||
|
||||
struct NoisyDropUnsized {
|
||||
text: str,
|
||||
inner: NoisyDropInner,
|
||||
text: str,
|
||||
}
|
||||
|
||||
struct NoisyDropInner;
|
||||
|
@ -48,8 +48,8 @@ struct NoisyDrop {
|
||||
}
|
||||
|
||||
struct NoisyDropUnsized {
|
||||
text: str,
|
||||
inner: NoisyDropInner,
|
||||
text: str,
|
||||
}
|
||||
|
||||
struct NoisyDropInner;
|
||||
|
Loading…
Reference in New Issue
Block a user