rust/tests/ui/bogus-tag.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
530 B
Plaintext
Raw Normal View History

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
...
2018-12-07 18:15:36 +00:00
LL | Color::Hsl(h, s, l) => { println!("hsl"); }
2019-04-08 21:58:18 +00:00
| ^^^ variant or associated item not found in `Color`
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0599`.