rust/tests/ui/attrs.stderr

25 lines
677 B
Plaintext
Raw Normal View History

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