File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ impl TomlManifest {
513513
514514 let project = me. project . as_ref ( ) . or_else ( || me. package . as_ref ( ) ) ;
515515 let project = project. ok_or_else ( || {
516- CargoError :: from ( "no `package` or `project` section found." )
516+ CargoError :: from ( "no `package` section found." )
517517 } ) ?;
518518
519519 let package_name = project. name . trim ( ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ fn cargo_compile_with_invalid_manifest() {
9292 [ERROR] failed to parse manifest at `[..]`
9393
9494Caused by:
95- no `package` or `project` section found.
95+ no `package` section found.
9696" ) )
9797}
9898
Original file line number Diff line number Diff line change 11extern crate cargotest;
22extern crate hamcrest;
33
4- use std:: str;
54use std:: net:: TcpListener ;
65use std:: thread;
76use std:: process:: Command ;
Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ fn cargo_metadata_with_invalid_manifest() {
547547 [ERROR] failed to parse manifest at `[..]`
548548
549549Caused by:
550- no `package` or `project` section found." ) )
550+ no `package` section found." ) )
551551}
552552
553553const MANIFEST_OUTPUT : & ' static str =
You can’t perform that action at this time.
0 commit comments