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(
431
431
let tip = {
432
432
let description_name = target. description_named ( ) ;
433
433
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 \
435
435
It is at `{}`, whereas the root the package is `{}`.\n ",
436
436
path. display( ) , pkg. root( ) . display( )
437
437
)
438
438
} 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 " , )
440
440
}
441
441
} ;
442
442
let msg = format ! (
Original file line number Diff line number Diff line change @@ -3325,7 +3325,7 @@ fn build_script_outside_pkg_root() {
3325
3325
let mut expect_msg = String :: from ( "\
3326
3326
warning: manifest has no documentation, homepage or repository.
3327
3327
See 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.
3329
3329
This may cause issue during packaging, as modules resolution and resources included via macros are often relative to the path of source files.
3330
3330
Please update the `build` setting in the manifest at `[CWD]/Cargo.toml` and point to a path inside the root of the package.
3331
3331
" ) ;
@@ -3343,7 +3343,7 @@ Please update the `build` setting in the manifest at `[CWD]/Cargo.toml` and poin
3343
3343
"\
3344
3344
warning: manifest has no documentation, homepage or repository.
3345
3345
See 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.
3347
3347
It is at `{}/t_custom_build/custom_build.rs`, whereas the root the package is `[CWD]`.
3348
3348
This may cause issue during packaging, as modules resolution and resources included via macros are often relative to the path of source files.
3349
3349
Please 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