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

The image feature no longer compiles in combination with the glow feature #1592

Closed
2 tasks done
ben-wallis opened this issue Dec 11, 2022 · 0 comments · Fixed by #1593
Closed
2 tasks done

The image feature no longer compiles in combination with the glow feature #1592

ben-wallis opened this issue Dec 11, 2022 · 0 comments · Fixed by #1593
Labels
bug Something isn't working

Comments

@ben-wallis
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

This was introduced in #1578

What is the expected behavior?

The crate compiles

Version

master

Operative System

Windows

Do you have any log output?

Compiling iced_glow v0.5.0 (D:\source\rust\iced\glow)
error[E0027]: pattern does not mention field `color`
   --> glow\src\image.rs:195:17
    |
195 |                 layer::Image::Vector { handle: _, bounds } => (None, bounds),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `color`
    |
help: include the missing field in the pattern
    |
195 |                 layer::Image::Vector { handle: _, bounds, color } => (None, bounds),
    |                                                         ~~~~~~~~~
help: if you don't care about this missing field, you can explicitly ignore it
    |
195 |                 layer::Image::Vector { handle: _, bounds, .. } => (None, bounds),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant