File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
compiler/rustc_parse_format Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4148,6 +4148,7 @@ dependencies = [
41484148name = " rustc_parse_format"
41494149version = " 0.0.0"
41504150dependencies = [
4151+ " rustc_data_structures" ,
41514152 " rustc_lexer" ,
41524153]
41534154
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ edition = "2021"
55
66[dependencies ]
77rustc_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(
908908 ( skips, true )
909909}
910910
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+
911915#[ cfg( test) ]
912916mod tests;
You can’t perform that action at this time.
0 commit comments