fn foo(o: myoption) -> int { let x: int; alt o { none:: { fail; } some::(t) { x = 5; } } ret x; } enum myoption { none; some(T); } fn main() { log(debug, 5); }