Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split-chart example also migrates to iced 0.9 #24

Merged
merged 1 commit into from
Jul 23, 2023
Merged

split-chart example also migrates to iced 0.9 #24

merged 1 commit into from
Jul 23, 2023

Conversation

eduidl
Copy link
Contributor

@eduidl eduidl commented Jul 22, 2023

Split-chart example fails to compile due to iced_core version mismatch. Then I fixed it.

error[E0308]: mismatched types
   --> examples/split-chart/src/main.rs:115:20
    |
115 |             .width(Length::Fill)
    |              ----- ^^^^^^^^^^^^ expected `iced_core::length::Length`, found `Length`
    |              |
    |              arguments to this method are incorrect
    |
    = note: `Length` and `iced_core::length::Length` have similar names, but are actually distinct types
note: `Length` is defined in crate `iced_core`
   --> /home/yuma/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iced_core-0.8.1/src/length.rs:3:1
    |
3   | pub enum Length {
    | ^^^^^^^^^^^^^^^
note: `iced_core::length::Length` is defined in crate `iced_core`
   --> /home/yuma/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iced_core-0.9.0/src/length.rs:3:1
    |
3   | pub enum Length {
    | ^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `iced_core` are being used?

ref: #21

@Joylei Joylei merged commit 090fba4 into Joylei:master Jul 23, 2023
3 checks passed
@eduidl eduidl deleted the fix/split-chart-dep branch July 23, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants