File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ fn run_command(cmd: Command) -> anyhow::Result<()> {
161161 missing_deps = true ;
162162 } else if line. contains ( "failed to parse manifest at" )
163163 || line. contains ( "error: invalid table header" )
164+ || ( line. contains ( "error: unexpected " ) && line. contains ( ", expected " ) )
164165 || line. contains ( "error: invalid type: " )
165166 || line. contains ( "error: cyclic feature dependency: feature " )
166167 || line. contains ( "error: cyclic package dependency: package " )
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ test_prepare_error_stderr!(
272272 test_invalid_cargotoml_syntax_deps,
273273 "invalid-cargotoml-syntax-deps" ,
274274 BrokenDependencies ,
275- "error: invalid table header "
275+ "error: unexpected "
276276) ;
277277
278278test_prepare_error_stderr ! (
You can’t perform that action at this time.
0 commit comments