]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/bogus-tag.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / bogus-tag.stderr
index 49dedcd07427959893d3c0d1cd11cde4547af3aa..f9917b07f070b172737b2059c6b28413bfbe5cd1 100644 (file)
@@ -1,11 +1,12 @@
 error[E0599]: no variant named `hsl` found for type `color` in the current scope
   --> $DIR/bogus-tag.rs:18:7
    |
-12 | enum color { rgb(isize, isize, isize), rgba(isize, isize, isize, isize), }
+LL | enum color { rgb(isize, isize, isize), rgba(isize, isize, isize, isize), }
    | ---------- variant `hsl` not found here
 ...
-18 |       color::hsl(h, s, l) => { println!("hsl"); }
+LL |       color::hsl(h, s, l) => { println!("hsl"); }
    |       ^^^^^^^^^^^^^^^^^^^ variant not found in `color`
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0599`.