mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
24 lines
678 B
Text
24 lines
678 B
Text
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
|
--> $DIR/attrs.rs:16:1
|
|
|
|
|
16 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::inline-always` implied by `-D warnings`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> $DIR/attrs.rs:37:14
|
|
|
|
|
37 | #[deprecated(since = "forever")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::deprecated-semver` implied by `-D warnings`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> $DIR/attrs.rs:40:14
|
|
|
|
|
40 | #[deprecated(since = "1")]
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|