aboutsummaryrefslogtreecommitdiff
path: root/src/lib/option.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/option.rs')
-rw-r--r--src/lib/option.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/option.rs b/src/lib/option.rs
index dbf08b3e..25f82b52 100644
--- a/src/lib/option.rs
+++ b/src/lib/option.rs
@@ -16,6 +16,7 @@ fn get[T](&t[T] opt) -> T {
fail;
}
}
+ fail; // FIXME: remove me when exhaustiveness checking works
}
fn map[T, U](&operator[T, U] f, &t[T] opt) -> t[U] {
@@ -27,6 +28,7 @@ fn map[T, U](&operator[T, U] f, &t[T] opt) -> t[U] {
ret none[U];
}
}
+ fail; // FIXME: remove me when exhaustiveness checking works
}
// Local Variables: