about summary refs log tree commit diff
path: root/tests/ui/pattern/pattern-match-invalid-variant.stderr
blob: 08a99f696f6d65fb831ee78cc61cef78f63571d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0599]: no variant or associated item named `Hsl` found for enum `Color` in the current scope
  --> $DIR/pattern-match-invalid-variant.rs:14:16
   |
LL | enum Color {
   | ---------- variant or associated item `Hsl` not found for this enum
...
LL |         Color::Hsl(h, s, l) => {
   |                ^^^ 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`.