rust/src/test/ui/conditional-compilation/cfg-attr-multi-true.stderr

39 lines
1018 B
Plaintext
Raw Normal View History

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