Files
rust/tests/ui/pattern/pattern-match-invalid-variant.stderr

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

13 lines
470 B
Plaintext
Raw Normal View History

error[E0599]: no variant or associated item named `Hsl` found for enum `Color` in the current scope
2025-06-01 00:03:54 +05:00
--> $DIR/pattern-match-invalid-variant.rs:14:16
|
2025-06-01 00:03:54 +05:00
LL | enum Color {
| ---------- variant or associated item `Hsl` not found for this enum
...
2025-06-01 00:03:54 +05:00
LL | Color::Hsl(h, s, l) => {
2019-04-08 17:58:18 -04:00
| ^^^ variant or associated item not found in `Color`
error: aborting due to 1 previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0599`.