Skip to content

Commit 485875f

Browse files
committed
Ignore unreachable_pub lint
``` warning: unreachable `pub` item --> futures-util/src/stream/futures_unordered/mod.rs:25:32 | 25 | pub use self::iter::{IntoIter, Iter, IterMut, IterPinMut, IterPinRef}; | --- ^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> futures-util/src/lib.rs:11:5 | 11 | unreachable_pub | ^^^^^^^^^^^^^^^ warning: unreachable `pub` item --> futures-util/src/stream/futures_unordered/mod.rs:25:38 | 25 | pub use self::iter::{IntoIter, Iter, IterMut, IterPinMut, IterPinRef}; | --- ^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates ```
1 parent 624a7ec commit 485875f

File tree

1 file changed

+1
-0
lines changed
  • futures-util/src/stream/futures_unordered

1 file changed

+1
-0
lines changed

futures-util/src/stream/futures_unordered/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ use futures_task::{FutureObj, LocalFutureObj, LocalSpawn, Spawn, SpawnError};
2222
mod abort;
2323

2424
mod iter;
25+
#[allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/102352
2526
pub use self::iter::{IntoIter, Iter, IterMut, IterPinMut, IterPinRef};
2627

2728
mod task;

0 commit comments

Comments
 (0)