2017-02-07 20:05:30 +00:00
|
|
|
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/attrs.rs:5:1
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | #[inline(always)]
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::inline-always` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::inline_always)]`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: the since field must contain a semver-compliant version
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/attrs.rs:27:14
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | #[deprecated(since = "forever")]
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::deprecated-semver` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::deprecated_semver)]`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: the since field must contain a semver-compliant version
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/attrs.rs:32:14
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | #[deprecated(since = "1")]
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-10-09 10:45:29 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|