mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-10 08:31:20 +00:00
15 lines
593 B
Plaintext
15 lines
593 B
Plaintext
|
error: use of deprecated constant `out_event_renamed_to_to_swarm::_w`:
|
||
|
It is deprecated to use the out_event attribute `#[behaviour(out_event = ...)]`.
|
||
|
Please instead use the to_swarm attribute `#[behaviour(to_swarm = ...)]`.
|
||
|
--> tests/ui/fail/out_event_deprecation.rs:7:8
|
||
|
|
|
||
|
7 | struct Foo {
|
||
|
| ^^^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> tests/ui/fail/out_event_deprecation.rs:1:9
|
||
|
|
|
||
|
1 | #![deny(warnings)] // Ensure the warnings we produce surface as errors.
|
||
|
| ^^^^^^^^
|
||
|
= note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
|