]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/attrs.stderr
Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup
[rust.git] / src / tools / clippy / tests / ui / attrs.stderr
1 error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea
2   --> $DIR/attrs.rs:9:1
3    |
4 LL | #[inline(always)]
5    | ^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::inline-always` implied by `-D warnings`
8
9 error: the since field must contain a semver-compliant version
10   --> $DIR/attrs.rs:29:14
11    |
12 LL | #[deprecated(since = "forever")]
13    |              ^^^^^^^^^^^^^^^^^
14    |
15    = note: `-D clippy::deprecated-semver` implied by `-D warnings`
16
17 error: the since field must contain a semver-compliant version
18   --> $DIR/attrs.rs:32:14
19    |
20 LL | #[deprecated(since = "1")]
21    |              ^^^^^^^^^^^
22
23 error: restriction lints are not meant to be all enabled
24   --> $DIR/attrs.rs:4:9
25    |
26 LL | #![warn(clippy::restriction)]
27    |         ^^^^^^^^^^^^^^^^^^^
28    |
29    = note: `-D clippy::blanket-clippy-restriction-lints` implied by `-D warnings`
30    = help: try enabling only the lints you really need
31
32 error: restriction lints are not meant to be all enabled
33   --> $DIR/attrs.rs:5:9
34    |
35 LL | #![deny(clippy::restriction)]
36    |         ^^^^^^^^^^^^^^^^^^^
37    |
38    = help: try enabling only the lints you really need
39
40 error: restriction lints are not meant to be all enabled
41   --> $DIR/attrs.rs:6:11
42    |
43 LL | #![forbid(clippy::restriction)]
44    |           ^^^^^^^^^^^^^^^^^^^
45    |
46    = help: try enabling only the lints you really need
47
48 error: aborting due to 6 previous errors
49