]> git.lizzy.rs Git - rust.git/blob - src/test/ui/bogus-tag.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / bogus-tag.stderr
1 error[E0599]: no variant or associated item named `Hsl` found for enum `Color` in the current scope
2   --> $DIR/bogus-tag.rs:7:16
3    |
4 LL | enum Color { Rgb(isize, isize, isize), Rgba(isize, isize, isize, isize), }
5    | ---------- variant or associated item `Hsl` not found for this enum
6 ...
7 LL |         Color::Hsl(h, s, l) => { println!("hsl"); }
8    |                ^^^ variant or associated item not found in `Color`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.