1 error[E0599]: no variant named `hsl` found for type `color` in the current scope
2 --> $DIR/bogus-tag.rs:18:14
4 LL | enum color { rgb(isize, isize, isize), rgba(isize, isize, isize, isize), }
5 | ---------- variant `hsl` not found here
7 LL | color::hsl(h, s, l) => { println!("hsl"); }
8 | -------^^^--------- variant not found in `color`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0599`.