chore(deps): update rust crate state to 0.6 #7099
Annotations
5 errors and 3 warnings
no method named `try_get` found for unit type `()` in the current scope:
core/tauri/src/state.rs#L84
error[E0599]: no method named `try_get` found for unit type `()` in the current scope
--> core/tauri/src/state.rs:84:12
|
84 | self.0.try_get().map(State)
| ^^^^^^^ method not found in `()`
|
no method named `try_get` found for unit type `()` in the current scope:
core/tauri/src/state.rs#L77
error[E0599]: no method named `try_get` found for unit type `()` in the current scope
--> core/tauri/src/state.rs:77:10
|
75 | / self
76 | | .0
77 | | .try_get()
| | -^^^^^^^ method not found in `()`
| |_________|
|
|
no method named `set` found for unit type `()` in the current scope:
core/tauri/src/state.rs#L69
error[E0599]: no method named `set` found for unit type `()` in the current scope
--> core/tauri/src/state.rs:69:12
|
69 | self.0.set(state)
| ^^^ method not found in `()`
|
no function or associated item named `new` found for unit type `()` in the current scope:
core/tauri/src/state.rs#L65
error[E0599]: no function or associated item named `new` found for unit type `()` in the current scope
--> core/tauri/src/state.rs:65:37
|
65 | Self(<Container![Send + Sync]>::new())
| ^^^ function or associated item not found in `()`
|
help: there is a method `ne` with a similar name, but with different arguments
--> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/cmp.rs:261:5
|
unresolved import `state::Container`:
core/tauri/src/state.rs#L9
error[E0432]: unresolved import `state::Container`
--> core/tauri/src/state.rs:9:5
|
9 | use state::Container;
| ^^^^^^^^^^^^^^^^ no `Container` in the root
|
help: consider importing this struct instead
|
9 | use gtk::Container;
| ~~~~~~~~~~~~~~
|
audit-rust
14 warnings found!
|
audit-rust
Unknown warning kind unsound found, please, file a bug
|
audit-rust
Unknown warning kind unsound found, please, file a bug
|