chore(deps): update rust crate state to 0.6 (1.x) #12223
api-all
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 84 in core/tauri/src/state.rs
github-actions / api-all
no method named `try_get` found for unit type `()` in the current scope
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 `()`
Check failure on line 77 in core/tauri/src/state.rs
github-actions / api-all
no method named `try_get` found for unit type `()` in the current scope
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 `()`
| |_________|
|
Check failure on line 69 in core/tauri/src/state.rs
github-actions / api-all
no method named `set` found for unit type `()` in the current scope
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 `()`
Check failure on line 65 in core/tauri/src/state.rs
github-actions / api-all
no function or associated item named `new` found for unit type `()` in the current scope
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
Check failure on line 9 in core/tauri/src/state.rs
github-actions / api-all
unresolved import `state::Container`
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;
| ~~~~~~~~~~~~~~