rust/clippy_tests/examples/attrs.stderr
2017-07-03 12:37:30 +08:00

45 lines
1.2 KiB
Plaintext

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.