2018-12-17 03:21:47 +00:00
|
|
|
error[E0599]: no variant named `Hsl` found for type `Color` in the current scope
|
2018-12-26 16:38:35 +00:00
|
|
|
--> $DIR/bogus-tag.rs:7:16
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-12-17 03:21:47 +00:00
|
|
|
LL | enum Color { Rgb(isize, isize, isize), Rgba(isize, isize, isize, isize), }
|
|
|
|
| ---------- variant `Hsl` not found here
|
2017-12-10 19:47:55 +00:00
|
|
|
...
|
2018-12-07 18:15:36 +00:00
|
|
|
LL | Color::Hsl(h, s, l) => { println!("hsl"); }
|
2019-03-10 23:20:15 +00:00
|
|
|
| ^^^ variant not found in `Color`
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|