mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
|
--> attrs.rs:6:1
|
|
|
|
|
6 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D inline-always` implied by `-D warnings`
|
|
|
|
error: you have declared `#[inline(always)]` on `false_positive_expr`. This is usually a bad idea
|
|
--> attrs.rs:11:1
|
|
|
|
|
11 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: you have declared `#[inline(always)]` on `false_positive_stmt`. This is usually a bad idea
|
|
--> attrs.rs:16:1
|
|
|
|
|
16 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: you have declared `#[inline(always)]` on `empty_and_false_positive_stmt`. This is usually a bad idea
|
|
--> attrs.rs:21:1
|
|
|
|
|
21 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> attrs.rs:27:14
|
|
|
|
|
27 | #[deprecated(since = "forever")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D deprecated-semver` implied by `-D warnings`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> attrs.rs:30:14
|
|
|
|
|
30 | #[deprecated(since = "1")]
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|