File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -431,12 +431,12 @@ fn error_custom_build_file_not_in_package(
431431 let tip = {
432432 let description_name = target. description_named ( ) ;
433433 if path. is_file ( ) {
434- format ! ( "the source file of ` {description_name}` doesn't appear to be a path inside of the package.\n \
434+ format ! ( "the source file of {description_name} doesn't appear to be a path inside of the package.\n \
435435 It is at `{}`, whereas the root the package is `{}`.\n ",
436436 path. display( ) , pkg. root( ) . display( )
437437 )
438438 } else {
439- format ! ( "the source file of ` {description_name}` doesn't appear to exist.\n " , )
439+ format ! ( "the source file of {description_name} doesn't appear to exist.\n " , )
440440 }
441441 } ;
442442 let msg = format ! (
Original file line number Diff line number Diff line change @@ -3325,7 +3325,7 @@ fn build_script_outside_pkg_root() {
33253325 let mut expect_msg = String :: from ( "\
33263326 warning: manifest has no documentation, homepage or repository.
33273327See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
3328- error: the source file of ` build script` doesn't appear to exist.
3328+ error: the source file of build script doesn't appear to exist.
33293329This may cause issue during packaging, as modules resolution and resources included via macros are often relative to the path of source files.
33303330Please update the `build` setting in the manifest at `[CWD]/Cargo.toml` and point to a path inside the root of the package.
33313331" ) ;
@@ -3343,7 +3343,7 @@ Please update the `build` setting in the manifest at `[CWD]/Cargo.toml` and poin
33433343 "\
33443344 warning: manifest has no documentation, homepage or repository.
33453345See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
3346- error: the source file of ` build script` doesn't appear to be a path inside of the package.
3346+ error: the source file of build script doesn't appear to be a path inside of the package.
33473347It is at `{}/t_custom_build/custom_build.rs`, whereas the root the package is `[CWD]`.
33483348This may cause issue during packaging, as modules resolution and resources included via macros are often relative to the path of source files.
33493349Please update the `build` setting in the manifest at `[CWD]/Cargo.toml` and point to a path inside the root of the package.
You can’t perform that action at this time.
0 commit comments