You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/testsuite/package.rs
+24-42
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,7 @@ fn metadata_warning() {
85
85
p.cargo("package")
86
86
.with_stderr(
87
87
"\
88
-
warning: manifest has no description, license, license-file, documentation, \
89
-
homepage or repository.
88
+
warning: manifest has no description, documentation, homepage or repository.
90
89
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
[WARNING] manifest has no license or license-file.
2073
-
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
2074
-
[WARNING] license-file `` does not appear to exist (relative to `[..]/foo`).
2075
-
Please update the license-file setting in the manifest at `[..]/foo/Cargo.toml`
2076
-
This may become a hard error in the future.
2077
-
[PACKAGING] foo v1.0.0 ([..]/foo)
2078
-
[PACKAGED] [..] files, [..] ([..] compressed)
2061
+
[ERROR] license-file `` does not appear to exist (relative to `[..]/foo`).
2062
+
Please update the license-file setting in the manifest at `[..]/foo/Cargo.toml`.
[WARNING] license-file `does-not-exist` does not appear to exist (relative to `[..]/foo`).
2107
-
Please update the license-file setting in the manifest at `[..]/foo/Cargo.toml`
2108
-
This may become a hard error in the future.
2109
-
[PACKAGING] foo v1.0.0 ([..]/foo)
2110
-
[PACKAGED] [..] files, [..] ([..] compressed)
2091
+
[ERROR] license-file `does-not-exist` does not appear to exist (relative to `[..]/foo`).
2092
+
Please update the license-file setting in the manifest at `[..]/foo/Cargo.toml`.
2111
2093
",
2112
2094
)
2113
2095
.run();
@@ -3522,7 +3504,7 @@ fn versionless_package() {
3522
3504
p.cargo("package")
3523
3505
.with_stderr(
3524
3506
"\
3525
-
warning: manifest has no license, license-file, documentation, homepage or repository.
3507
+
warning: manifest has no documentation, homepage or repository.
3526
3508
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
warning: manifest has no description, license, license-file, documentation, homepage or repository.
3713
+
warning: manifest has no description, documentation, homepage or repository.
3732
3714
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
0 commit comments