summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg-attr-multi-true.stderr
blob: 123ce71727f67c0dd4641a046b73472abedb8376 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
warning: use of deprecated struct `MustUseDeprecated`
  --> $DIR/cfg-attr-multi-true.rs:12:6
   |
LL | impl MustUseDeprecated {
   |      ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated struct `MustUseDeprecated`
  --> $DIR/cfg-attr-multi-true.rs:19:5
   |
LL |     MustUseDeprecated::new();
   |     ^^^^^^^^^^^^^^^^^

warning: use of deprecated struct `MustUseDeprecated`
  --> $DIR/cfg-attr-multi-true.rs:13:17
   |
LL |     fn new() -> MustUseDeprecated {
   |                 ^^^^^^^^^^^^^^^^^

warning: use of deprecated struct `MustUseDeprecated`
  --> $DIR/cfg-attr-multi-true.rs:14:9
   |
LL |         MustUseDeprecated {}
   |         ^^^^^^^^^^^^^^^^^

warning: unused `MustUseDeprecated` that must be used
  --> $DIR/cfg-attr-multi-true.rs:19:5
   |
LL |     MustUseDeprecated::new();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/cfg-attr-multi-true.rs:7:9
   |
LL | #![warn(unused_must_use)]
   |         ^^^^^^^^^^^^^^^
help: use `let _ = ...` to ignore the resulting value
   |
LL |     let _ = MustUseDeprecated::new();
   |     +++++++

warning: 5 warnings emitted