Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::used_underscore_items warning
``` error: used underscore-prefixed item --> tests/stream.rs:144:11 | 144 | yield foo::_Foo(0); | ^^^^^^^^^^^^ | note: item is defined here --> tests/stream.rs:139:5 | 139 | pub struct _Foo(pub i32); | ^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items = note: `-D clippy::used-underscore-items` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::used_underscore_items)]` error: used underscore-prefixed item --> tests/stream.rs:145:11 | 145 | yield foo::_Foo(1); | ^^^^^^^^^^^^ | note: item is defined here --> tests/stream.rs:139:5 | 139 | pub struct _Foo(pub i32); | ^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items error: used underscore-prefixed item --> tests/stream.rs:158:11 | 158 | yield foo::_Foo(0); | ^^^^^^^^^^^^ | note: item is defined here --> tests/stream.rs:139:5 | 139 | pub struct _Foo(pub i32); | ^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items error: used underscore-prefixed item --> tests/stream.rs:159:11 | 159 | yield foo::_Foo(1); | ^^^^^^^^^^^^ | note: item is defined here --> tests/stream.rs:139:5 | 139 | pub struct _Foo(pub i32); | ^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items ```
- Loading branch information