2017-02-07 14:05:30 -06:00
|
|
|
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
|
|
|
--> $DIR/attrs.rs:6:1
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
6 | #[inline(always)]
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/attrs.rs:4:9
|
|
|
|
|
|
|
|
|
4 | #![deny(inline_always, deprecated_semver)]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
|
|
--> $DIR/attrs.rs:27:14
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
27 | #[deprecated(since = "forever")]
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/attrs.rs:4:24
|
|
|
|
|
|
|
|
|
4 | #![deny(inline_always, deprecated_semver)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
|
|
--> $DIR/attrs.rs:30:14
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
30 | #[deprecated(since = "1")]
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|