about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/attrs.stderr
blob: 85b318cc0fdb70c81d828c90554a317eec27118e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: the since field must contain a semver-compliant version
  --> tests/ui/attrs.rs:26: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:30:14
   |
LL | #[deprecated(since = "1")]
   |              ^^^^^^^^^^^

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: aborting due to 3 previous errors