rust/tests/ui/attrs.stderr

25 lines
655 B
Plaintext
Raw Normal View History

error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
2017-08-01 17:54:21 +02:00
--> $DIR/attrs.rs:6:1
|
2017-02-08 14:58:07 +01:00
6 | #[inline(always)]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D inline-always` implied by `-D warnings`
error: the since field must contain a semver-compliant version
2017-08-01 17:54:21 +02:00
--> $DIR/attrs.rs:27:14
|
2017-02-08 14:58:07 +01:00
27 | #[deprecated(since = "forever")]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D deprecated-semver` implied by `-D warnings`
error: the since field must contain a semver-compliant version
2017-08-01 17:54:21 +02:00
--> $DIR/attrs.rs:30:14
|
2017-02-08 14:58:07 +01:00
30 | #[deprecated(since = "1")]
| ^^^^^^^^^^^
2018-01-16 17:06:27 +01:00
error: aborting due to 3 previous errors