We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This works:
fn main() { enum Stuff { Bar = 100 } log(error, Bar); }
But this doesn't:
fn main() { let foo = 100; enum Stuff { Bar = foo // error: internal error looking up a definition } log(error, Bar); }