File tree 2 files changed +6
-2
lines changed
compiler/rustc_parse_format
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ edition = "2024"
5
5
6
6
[dependencies ]
7
7
# tidy-alphabetical-start
8
- rustc_index = { path = " ../rustc_index" , default-features = false }
9
8
rustc_lexer = { path = " ../rustc_lexer" }
10
9
# tidy-alphabetical-end
10
+
11
+ [dev-dependencies ]
12
+ # tidy-alphabetical-start
13
+ rustc_index = { path = " ../rustc_index" , default-features = false }
14
+ # tidy-alphabetical-end
Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ fn unescape_string(string: &str) -> Option<String> {
1105
1105
}
1106
1106
1107
1107
// Assert a reasonable size for `Piece`
1108
- #[ cfg( target_pointer_width = "64" ) ]
1108
+ #[ cfg( all ( test , target_pointer_width = "64" ) ) ]
1109
1109
rustc_index:: static_assert_size!( Piece <' _>, 16 ) ;
1110
1110
1111
1111
#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments