rust-clippy/tests/ui/attrs.stderr

25 lines
678 B
Text
Raw Normal View History

error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
2018-10-06 16:18:06 +00:00
--> $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
2018-10-06 16:18:06 +00:00
--> $DIR/attrs.rs:37:14
|
2018-10-06 16:18:06 +00:00
37 | #[deprecated(since = "forever")]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::deprecated-semver` implied by `-D warnings`
error: the since field must contain a semver-compliant version
2018-10-06 16:18:06 +00:00
--> $DIR/attrs.rs:40:14
|
2018-10-06 16:18:06 +00:00
40 | #[deprecated(since = "1")]
| ^^^^^^^^^^^
2018-01-16 16:06:27 +00:00
error: aborting due to 3 previous errors