2018-09-10 17:06:49 -05:00
|
|
|
warning: use of deprecated item 'MustUseDeprecated'
|
2019-01-04 05:51:29 -06:00
|
|
|
--> $DIR/cfg-attr-multi-true.rs:12:6
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
|
LL | impl MustUseDeprecated { //~ warning: use of deprecated item
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[warn(deprecated)] on by default
|
|
|
|
|
|
|
|
warning: use of deprecated item 'MustUseDeprecated'
|
2019-01-04 05:51:29 -06:00
|
|
|
--> $DIR/cfg-attr-multi-true.rs:19:5
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
|
LL | MustUseDeprecated::new(); //~ warning: use of deprecated item
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'MustUseDeprecated'
|
2019-01-04 05:51:29 -06:00
|
|
|
--> $DIR/cfg-attr-multi-true.rs:13:17
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
|
LL | fn new() -> MustUseDeprecated { //~ warning: use of deprecated item
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'MustUseDeprecated'
|
2019-01-04 05:51:29 -06:00
|
|
|
--> $DIR/cfg-attr-multi-true.rs:14:9
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
|
LL | MustUseDeprecated {} //~ warning: use of deprecated item
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-10-08 14:36:50 -05:00
|
|
|
warning: unused `MustUseDeprecated` that must be used
|
2019-01-04 05:51:29 -06:00
|
|
|
--> $DIR/cfg-attr-multi-true.rs:19:5
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
|
LL | MustUseDeprecated::new(); //~ warning: use of deprecated item
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/cfg-attr-multi-true.rs:7:9
|
|
|
|
|
|
|
|
|
LL | #![warn(unused_must_use)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|