1 error: this item has an invalid `clippy::version` attribute
2 --> $DIR/check_clippy_version_attribute.rs:40:1
4 LL | / declare_tool_lint! {
5 LL | | #[clippy::version = "1.2.3.4.5.6"]
6 LL | | pub clippy::INVALID_ONE,
9 LL | | report_in_external_macro: true
13 = help: please use a valid semantic version, see `doc/adding_lints.md`
14 note: the lint level is defined here
15 --> $DIR/check_clippy_version_attribute.rs:1:9
17 LL | #![deny(clippy::internal)]
19 = note: `#[deny(clippy::invalid_clippy_version_attribute)]` implied by `#[deny(clippy::internal)]`
20 = note: this error originates in the macro `$crate::declare_tool_lint` which comes from the expansion of the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
22 error: this item has an invalid `clippy::version` attribute
23 --> $DIR/check_clippy_version_attribute.rs:48:1
25 LL | / declare_tool_lint! {
26 LL | | #[clippy::version = "I'm a string"]
27 LL | | pub clippy::INVALID_TWO,
30 LL | | report_in_external_macro: true
34 = help: please use a valid semantic version, see `doc/adding_lints.md`
35 = note: this error originates in the macro `$crate::declare_tool_lint` which comes from the expansion of the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
37 error: this lint is missing the `clippy::version` attribute or version value
38 --> $DIR/check_clippy_version_attribute.rs:59:1
40 LL | / declare_tool_lint! {
41 LL | | #[clippy::version]
42 LL | | pub clippy::MISSING_ATTRIBUTE_ONE,
45 LL | | report_in_external_macro: true
49 = help: please use a `clippy::version` attribute, see `doc/adding_lints.md`
50 = note: `#[deny(clippy::missing_clippy_version_attribute)]` implied by `#[deny(clippy::internal)]`
51 = note: this error originates in the macro `$crate::declare_tool_lint` which comes from the expansion of the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
53 error: this lint is missing the `clippy::version` attribute or version value
54 --> $DIR/check_clippy_version_attribute.rs:67:1
56 LL | / declare_tool_lint! {
57 LL | | pub clippy::MISSING_ATTRIBUTE_TWO,
60 LL | | report_in_external_macro: true
64 = help: please use a `clippy::version` attribute, see `doc/adding_lints.md`
65 = note: this error originates in the macro `$crate::declare_tool_lint` which comes from the expansion of the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
67 error: aborting due to 4 previous errors