mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
6b6253016f
rustc now (https://github.com/rust-lang/rust/issues/33525) does not report an error count anymore, because it was not correct in many cases.
29 lines
799 B
Text
29 lines
799 B
Text
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
|
--> attrs.rs:6:1
|
|
|
|
|
6 | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D inline-always` implied by `-D warnings`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> attrs.rs:27:14
|
|
|
|
|
27 | #[deprecated(since = "forever")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D deprecated-semver` implied by `-D warnings`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> attrs.rs:30:14
|
|
|
|
|
30 | #[deprecated(since = "1")]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: `-D deprecated-semver` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error(s)
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
To learn more, run the command again with --verbose.
|