File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2236,7 +2236,7 @@ impl ConfigValue {
2236
2236
toml:: Value :: String ( val) => Ok ( ( val, def. clone ( ) ) ) ,
2237
2237
v => {
2238
2238
path. push ( KeyOrIdx :: Idx ( i) ) ;
2239
- bail ! ( "expected string but found {} in list " , v. type_str( ) )
2239
+ bail ! ( "expected string but found {} at index {i} " , v. type_str( ) )
2240
2240
}
2241
2241
} )
2242
2242
. collect :: < CargoResult < _ > > ( ) ?,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Caused by:
90
90
failed to parse config at `alias.b-cargo-test[0]`
91
91
92
92
Caused by:
93
- expected string but found integer in list
93
+ expected string but found integer at index 0
94
94
95
95
"# ] ] )
96
96
. run ( ) ;
Original file line number Diff line number Diff line change @@ -1366,7 +1366,7 @@ Caused by:
1366
1366
failed to parse config at `foo[0]`
1367
1367
1368
1368
Caused by:
1369
- expected string but found integer in list
1369
+ expected string but found integer at index 0
1370
1370
"# ] ] ,
1371
1371
) ;
1372
1372
}
You can’t perform that action at this time.
0 commit comments