mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
27 lines
843 B
Plaintext
27 lines
843 B
Plaintext
error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
|
|
--> tests/ui/attrs.rs:5:1
|
|
|
|
|
LL | #[inline(always)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::inline-always` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::inline_always)]`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> tests/ui/attrs.rs:27:14
|
|
|
|
|
LL | #[deprecated(since = "forever")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::deprecated-semver` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::deprecated_semver)]`
|
|
|
|
error: the since field must contain a semver-compliant version
|
|
--> tests/ui/attrs.rs:32:14
|
|
|
|
|
LL | #[deprecated(since = "1")]
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|