diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/bogus-tag.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/bogus-tag.stderr b/src/test/ui/bogus-tag.stderr new file mode 100644 index 000000000..899ff4261 --- /dev/null +++ b/src/test/ui/bogus-tag.stderr @@ -0,0 +1,12 @@ +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 +... +LL | Color::Hsl(h, s, l) => { println!("hsl"); } + | ^^^ variant or associated item not found in `Color` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0599`. |