Make tidy
This commit is contained in:
parent
3d23dc7956
commit
adae9bc25e
4 changed files with 26 additions and 14 deletions
|
|
@ -11,8 +11,8 @@
|
|||
#![warn(variant_size_differences)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
// Note that the following test only works because all fields of the enum variants are of the same size.
|
||||
// If this test is modified so that the reordering logic in librustc/ty/layout.rs kicks in, it will fail.
|
||||
// Note that the following test works because all fields of the enum variants are of the same size.
|
||||
// If this test is modified and the reordering logic in librustc/ty/layout.rs kicks in, it fails.
|
||||
|
||||
enum Enum1 { }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue