rust-clippy/clippy_tests/examples/attrs.stderr

29 lines
758 B
Text
Raw Normal View History

error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
--> attrs.rs:6:1
|
2017-02-08 13:58:07 +00:00
6 | #[inline(always)]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D inline-always` implied by `-D warnings`
error: the since field must contain a semver-compliant version
--> attrs.rs:27:14
|
2017-02-08 13:58:07 +00:00
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
|
2017-02-08 13:58:07 +00:00
30 | #[deprecated(since = "1")]
| ^^^^^^^^^^^
|
= note: `-D deprecated-semver` implied by `-D warnings`
error: aborting due to previous error(s)
To learn more, run the command again with --verbose.