File tree 3 files changed +28
-0
lines changed
tests/ui-cargo/cargo_common_metadata/fail_publish_true
3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ [package ]
2
+ name = " cargo_common_metadata"
3
+ version = " 0.1.0"
4
+ publish = true
5
+
6
+ [workspace ]
Original file line number Diff line number Diff line change
1
+ // compile-flags: --crate-name=cargo_common_metadata
2
+ #![ warn( clippy:: cargo_common_metadata) ]
3
+
4
+ fn main ( ) { }
Original file line number Diff line number Diff line change
1
+ error: package `cargo_common_metadata` is missing `package.authors` metadata
2
+ |
3
+ = note: `-D clippy::cargo-common-metadata` implied by `-D warnings`
4
+
5
+ error: package `cargo_common_metadata` is missing `package.description` metadata
6
+
7
+ error: package `cargo_common_metadata` is missing `either package.license or package.license_file` metadata
8
+
9
+ error: package `cargo_common_metadata` is missing `package.repository` metadata
10
+
11
+ error: package `cargo_common_metadata` is missing `package.readme` metadata
12
+
13
+ error: package `cargo_common_metadata` is missing `package.keywords` metadata
14
+
15
+ error: package `cargo_common_metadata` is missing `package.categories` metadata
16
+
17
+ error: aborting due to 7 previous errors
18
+
You can’t perform that action at this time.
0 commit comments