We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const FOO: int = 0; const BAR: int = 1; fn main() { alt 1 { FOO { #debug("FOO") } BAR { #debug("BAR") } }; }
yields the following error:
constalt.rs:7:6: 7:9 error: unreachable pattern constalt.rs:7 BAR { #debug("BAR") } ^~~
If this is expected, it's counter-intuitive.