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 {
22362236 toml:: Value :: String ( val) => Ok ( ( val, def. clone ( ) ) ) ,
22372237 v => {
22382238 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( ) )
22402240 }
22412241 } )
22422242 . collect :: < CargoResult < _ > > ( ) ?,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Caused by:
9090 failed to parse config at path `alias.b-cargo-test[0]`
9191
9292Caused by:
93- expected string but found integer in list
93+ expected string but found integer at index 0
9494
9595"# ] ] )
9696 . run ( ) ;
Original file line number Diff line number Diff line change @@ -1366,7 +1366,7 @@ Caused by:
13661366 failed to parse config at path `foo[0]`
13671367
13681368Caused by:
1369- expected string but found integer in list
1369+ expected string but found integer at index 0
13701370"# ] ] ,
13711371 ) ;
13721372}
You can’t perform that action at this time.
0 commit comments