rust/tests/ui/attrs.stderr

25 lines
678 B
Plaintext
Raw Normal View History

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