]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/bogus-tag.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / bogus-tag.stderr
index f9917b07f070b172737b2059c6b28413bfbe5cd1..3750df841720c64efadedf61037598aa6c7b35a3 100644 (file)
@@ -1,11 +1,11 @@
-error[E0599]: no variant named `hsl` found for type `color` in the current scope
-  --> $DIR/bogus-tag.rs:18:7
+error[E0599]: no variant named `Hsl` found for type `Color` in the current scope
+  --> $DIR/bogus-tag.rs:7:16
    |
-LL | enum color { rgb(isize, isize, isize), rgba(isize, isize, isize, isize), }
-   | ---------- variant `hsl` not found here
+LL | enum Color { Rgb(isize, isize, isize), Rgba(isize, isize, isize, isize), }
+   | ---------- variant `Hsl` not found here
 ...
-LL |       color::hsl(h, s, l) => { println!("hsl"); }
-   |       ^^^^^^^^^^^^^^^^^^^ variant not found in `color`
+LL |         Color::Hsl(h, s, l) => { println!("hsl"); }
+   |         -------^^^--------- variant not found in `Color`
 
 error: aborting due to previous error