38 lines
2.4 KiB
Plaintext
38 lines
2.4 KiB
Plaintext
Compiling oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-desktop)
|
|
error[E0277]: the trait bound `Renderer: iced::advanced::text::Renderer` is not satisfied
|
|
--> crates\oa-desktop\src\views.rs:1222:19
|
|
|
|
|
1222 | container(scrollable(header).id("source-header")).height((window_height * 0.42).max(180.)),
|
|
| ^^^^^^^^^^^^^^^^^^ the trait `iced::advanced::text::Renderer` is not implemented for `Renderer`
|
|
|
|
|
= note: `Renderer` implements similarly named trait `iced::advanced::Renderer`, but not `iced::advanced::text::Renderer`
|
|
note: required by a bound in `iced::widget::scrollable`
|
|
--> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\toolchain\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\iced_widget-0.14.2\src\helpers.rs:1051:15
|
|
|
|
|
1046 | pub fn scrollable<'a, Message, Theme, Renderer>(
|
|
| ---------- required by a bound in this function
|
|
...
|
|
1051 | Renderer: core::text::Renderer,
|
|
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `scrollable`
|
|
help: consider further restricting type parameter `Renderer` with trait `Renderer`
|
|
|
|
|
1214 | fn source_layout<'a, Renderer: iced::advanced::Renderer + 'a + iced::advanced::text::Renderer>(
|
|
| ++++++++++++++++++++++++++++++++
|
|
|
|
error[E0599]: the method `id` exists for struct `iced::widget::Scrollable<'_, app::Message, iced::Theme, Renderer>`, but its trait bounds were not satisfied
|
|
--> crates\oa-desktop\src\views.rs:1222:38
|
|
|
|
|
1222 | container(scrollable(header).id("source-header")).height((window_height * 0.42).max(180.)),
|
|
| ^^ private field, not a method
|
|
|
|
|
= note: the following trait bounds were not satisfied:
|
|
`Renderer: iced::advanced::text::Renderer`
|
|
help: consider restricting the type parameter to satisfy the trait bound
|
|
|
|
|
1218 | ) -> View<'a, Message, iced::Theme, Renderer> where Renderer: iced::advanced::text::Renderer {
|
|
| ++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
Some errors have detailed explanations: E0277, E0599.
|
|
For more information about an error, try `rustc --explain E0277`.
|
|
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 2 previous errors
|