2021-12-06 05:33:31 -06:00
error: this item has an invalid `clippy::version` attribute
2024-02-27 08:25:18 -06:00
--> tests/ui-internal/check_clippy_version_attribute.rs:40:1
2021-12-06 05:33:31 -06:00
|
LL | / declare_tool_lint! {
LL | | #[clippy::version = "1.2.3.4.5.6"]
LL | | pub clippy::INVALID_ONE,
LL | | Warn,
LL | | "One",
LL | | report_in_external_macro: true
LL | | }
| |_^
|
2022-10-06 02:44:38 -05:00
= help: please use a valid semantic version, see `doc/adding_lints.md`
2021-12-06 05:33:31 -06:00
note: the lint level is defined here
2024-02-27 08:25:18 -06:00
--> tests/ui-internal/check_clippy_version_attribute.rs:1:9
2021-12-06 05:33:31 -06:00
|
LL | #![deny(clippy::internal)]
| ^^^^^^^^^^^^^^^^
= note: `#[deny(clippy::invalid_clippy_version_attribute)]` implied by `#[deny(clippy::internal)]`
2022-07-28 12:08:22 -05:00
= 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)
2021-12-06 05:33:31 -06:00
error: this item has an invalid `clippy::version` attribute
2024-02-27 08:25:18 -06:00
--> tests/ui-internal/check_clippy_version_attribute.rs:48:1
2021-12-06 05:33:31 -06:00
|
LL | / declare_tool_lint! {
LL | | #[clippy::version = "I'm a string"]
LL | | pub clippy::INVALID_TWO,
LL | | Warn,
LL | | "Two",
LL | | report_in_external_macro: true
LL | | }
| |_^
|
2022-08-11 12:42:16 -05:00
= help: please use a valid semantic version, see `doc/adding_lints.md`
2022-07-28 12:08:22 -05:00
= 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)
2021-12-06 05:33:31 -06:00
error: this lint is missing the `clippy::version` attribute or version value
2024-02-27 08:25:18 -06:00
--> tests/ui-internal/check_clippy_version_attribute.rs:59:1
2021-12-06 05:33:31 -06:00
|
LL | / declare_tool_lint! {
LL | | #[clippy::version]
LL | | pub clippy::MISSING_ATTRIBUTE_ONE,
LL | | Warn,
LL | | "Two",
LL | | report_in_external_macro: true
LL | | }
| |_^
|
= help: please use a `clippy::version` attribute, see `doc/adding_lints.md`
2022-10-06 02:44:38 -05:00
= note: `#[deny(clippy::missing_clippy_version_attribute)]` implied by `#[deny(clippy::internal)]`
2022-07-28 12:08:22 -05:00
= 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)
2021-12-06 05:33:31 -06:00
error: this lint is missing the `clippy::version` attribute or version value
2024-02-27 08:25:18 -06:00
--> tests/ui-internal/check_clippy_version_attribute.rs:67:1
2021-12-06 05:33:31 -06:00
|
LL | / declare_tool_lint! {
LL | | pub clippy::MISSING_ATTRIBUTE_TWO,
LL | | Warn,
LL | | "Two",
LL | | report_in_external_macro: true
LL | | }
| |_^
|
= help: please use a `clippy::version` attribute, see `doc/adding_lints.md`
2022-07-28 12:08:22 -05:00
= 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)
2021-12-06 05:33:31 -06:00
error: aborting due to 4 previous errors