File tree 3 files changed +6
-0
lines changed
compiler/rustc_parse_format
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4148,6 +4148,7 @@ dependencies = [
4148
4148
name = " rustc_parse_format"
4149
4149
version = " 0.0.0"
4150
4150
dependencies = [
4151
+ " rustc_data_structures" ,
4151
4152
" rustc_lexer" ,
4152
4153
]
4153
4154
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ edition = "2021"
5
5
6
6
[dependencies ]
7
7
rustc_lexer = { path = " ../rustc_lexer" }
8
+ rustc_data_structures = { path = " ../rustc_data_structures" }
Original file line number Diff line number Diff line change @@ -908,5 +908,9 @@ fn find_skips_from_snippet(
908
908
( skips, true )
909
909
}
910
910
911
+ // Assert a reasonable size for `Piece`
912
+ #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
913
+ rustc_data_structures:: static_assert_size!( Piece <' _>, 16 ) ;
914
+
911
915
#[ cfg( test) ]
912
916
mod tests;
You can’t perform that action at this time.
0 commit comments