DynEq over Any #129
Annotations
7 errors and 2 warnings
type annotations needed for `respo::primes::RespoNode<_>`:
respo/src/dialog/prompt.rs#L145
error[E0283]: type annotations needed for `respo::primes::RespoNode<_>`
--> respo/src/dialog/prompt.rs:145:7
|
103 | move |e, dispatch: DispatchFn<_>| -> Result<(), String> {
| ----------------------- type must be known at this point
...
145 | let mut input_el = if options.multilines {
| ^^^^^^^^^^^^
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `respo::primes::DispatchFn`
--> respo/src/respo/primes.rs:461:6
|
459 | pub struct DispatchFn<T>(Rc<dyn Fn(T) -> Result<(), String>>)
| ---------- required by a bound in this struct
460 | where
461 | T: Debug + Clone;
| ^^^^^ required by this bound in `DispatchFn`
help: consider giving `input_el` an explicit type, where the placeholders `_` are specified
|
145 | let mut input_el: respo::primes::RespoNode<T> = if options.multilines {
| +++++++++++++++++++++++++++++
|
type annotations needed:
respo/src/dialog/modal.rs#L116
error[E0283]: type annotations needed
--> respo/src/dialog/modal.rs:116:28
|
116 | .children([div()
| ^^^ cannot infer type of the type parameter `T` declared on the function `div`
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `respo::alias::div`
--> respo/src/respo/alias.rs:21:10
|
21 | T: Debug + Clone,
| ^^^^^ required by this bound in `div`
...
28 | declare_tag!(div, "`<div/>`");
| -----------------------------
| | |
| | required by a bound in this function
| in this macro invocation
= note: this error originates in the macro `declare_tag` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider specifying the generic argument
|
116 | .children([div::<T>()
| +++++
|
type annotations needed:
respo/src/dialog/drawer.rs#L116
error[E0283]: type annotations needed
--> respo/src/dialog/drawer.rs:116:28
|
116 | .children([div()
| ^^^ cannot infer type of the type parameter `T` declared on the function `div`
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `respo::alias::div`
--> respo/src/respo/alias.rs:21:10
|
21 | T: Debug + Clone,
| ^^^^^ required by this bound in `div`
...
28 | declare_tag!(div, "`<div/>`");
| -----------------------------
| | |
| | required by a bound in this function
| in this macro invocation
= note: this error originates in the macro `declare_tag` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider specifying the generic argument
|
116 | .children([div::<T>()
| +++++
|
type annotations needed:
respo/src/dialog/confirm.rs#L78
error[E0283]: type annotations needed
--> respo/src/dialog/confirm.rs:78:28
|
78 | .children([div()
| ^^^ cannot infer type of the type parameter `T` declared on the function `div`
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `respo::alias::div`
--> respo/src/respo/alias.rs:21:10
|
21 | T: Debug + Clone,
| ^^^^^ required by this bound in `div`
...
28 | declare_tag!(div, "`<div/>`");
| -----------------------------
| | |
| | required by a bound in this function
| in this macro invocation
= note: this error originates in the macro `declare_tag` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider specifying the generic argument
|
78 | .children([div::<T>()
| +++++
|
type annotations needed:
respo/src/dialog/alert.rs#L72
error[E0283]: type annotations needed
--> respo/src/dialog/alert.rs:72:28
|
72 | .children([div()
| ^^^ cannot infer type of the type parameter `T` declared on the function `div`
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `respo::alias::div`
--> respo/src/respo/alias.rs:21:10
|
21 | T: Debug + Clone,
| ^^^^^ required by this bound in `div`
...
28 | declare_tag!(div, "`<div/>`");
| -----------------------------
| | |
| | required by a bound in this function
| in this macro invocation
= note: this error originates in the macro `declare_tag` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider specifying the generic argument
|
72 | .children([div::<T>()
| +++++
|
`&` without an explicit lifetime name cannot be used here:
respo/src/respo/primes.rs#L291
error[E0637]: `&` without an explicit lifetime name cannot be used here
--> respo/src/respo/primes.rs:291:28
|
291 | U: IntoIterator<Item = &RespoNode<T>>,
| ^ explicit lifetime name needed here
|
help: consider introducing a higher-ranked lifetime here
|
291 | U: for<'a> IntoIterator<Item = &'a RespoNode<T>>,
| +++++++ ++
|
Test
Clippy had exited with the 101 exit code
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jetli/[email protected], actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|