Skip to content

Add provider traits to all runtime components #221

Add provider traits to all runtime components

Add provider traits to all runtime components #221

GitHub Actions / clippy-no-default-features failed Dec 20, 2023 in 0s

clippy-no-default-features

6 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 6
Warning 0
Note 0
Help 0

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check failure on line 40 in crates/async-runtime-components/src/subscription/impls/stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/stream.rs:40:23
   |
40 |     pub task_senders: Arc<Runtime::Mutex<Option<Vec<Runtime::Sender<T>>>>>,
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

Check failure on line 40 in crates/async-runtime-components/src/subscription/impls/stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/stream.rs:40:23
   |
40 |     pub task_senders: Arc<Runtime::Mutex<Option<Vec<Runtime::Sender<T>>>>>,
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

Check failure on line 75 in crates/async-runtime-components/src/subscription/impls/multiplex.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/multiplex.rs:75:23
   |
75 |     pub task_senders: Arc<Runtime::Mutex<Option<Vec<Runtime::Sender<U>>>>>,
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

Check failure on line 75 in crates/async-runtime-components/src/subscription/impls/multiplex.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/multiplex.rs:75:23
   |
75 |     pub task_senders: Arc<Runtime::Mutex<Option<Vec<Runtime::Sender<U>>>>>,
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

Check failure on line 76 in crates/async-runtime-components/src/subscription/impls/closure.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/closure.rs:65:16
   |
65 |       subscribe: Box<
   |  ________________^
66 | |         dyn Fn() -> Pin<
67 | |                 Box<
68 | |                     dyn Future<
...  |
75 | |             + 'static,
76 | |     >,
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `-D clippy::type-complexity` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`

Check failure on line 76 in crates/async-runtime-components/src/subscription/impls/closure.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

very complex type used. Consider factoring parts into `type` definitions

error: very complex type used. Consider factoring parts into `type` definitions
  --> crates/async-runtime-components/src/subscription/impls/closure.rs:65:16
   |
65 |       subscribe: Box<
   |  ________________^
66 | |         dyn Fn() -> Pin<
67 | |                 Box<
68 | |                     dyn Future<
...  |
75 | |             + 'static,
76 | |     >,
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `-D clippy::type-complexity` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`