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

palette is ambiguous ambiguous because of multiple potential import sources #2294

Closed
2 tasks done
drunkenlion opened this issue Feb 26, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@drunkenlion
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?

图片

What is the expected behavior?

palette is ambiguous
ambiguous because of multiple potential import sources

Version

master

Operating System

macOS

Do you have any log output?

`palette` is ambiguous
ambiguous because of multiple potential import sources
use `::palette` to refer to this crate unambiguously
use `self::palette` to refer to this module unambiguouslyrustcClick for full compiler diagnostic
lib.rs(1, 1): `palette` could refer to a crate passed with `--extern`
theme.rs(2, 1): `palette` could also refer to the module defined here
iced_style::theme
mod palette
@drunkenlion drunkenlion added the bug Something isn't working label Feb 26, 2024
@hecrj
Copy link
Member

hecrj commented Feb 26, 2024

Update your Rust toolchain: rustup update.

@hecrj hecrj closed this as completed Feb 26, 2024
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
Development

No branches or pull requests

2 participants