mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
530 B
Text
12 lines
530 B
Text
error[E0599]: no variant or associated item named `Hsl` found for enum `Color` in the current scope
|
|
--> $DIR/bogus-tag.rs:7:16
|
|
|
|
|
LL | enum Color { Rgb(isize, isize, isize), Rgba(isize, isize, isize, isize), }
|
|
| ---------- variant or associated item `Hsl` not found for this enum
|
|
...
|
|
LL | Color::Hsl(h, s, l) => { println!("hsl"); }
|
|
| ^^^ variant or associated item not found in `Color`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|