summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/ExtractBuiltin.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ExtractBuiltin.ml b/compiler/ExtractBuiltin.ml
index a9b939b5..e84d5896 100644
--- a/compiler/ExtractBuiltin.ml
+++ b/compiler/ExtractBuiltin.ml
@@ -383,6 +383,8 @@ let builtin_funs () : (pattern * bool list option * builtin_fun_info) list =
@A>>}::deref_mut"
(Some "alloc.vec.DerefMutVec.deref_mut")
(Some [ true; false ]);
+ mk_fun "core::option::{core::option::Option<@T>}::unwrap"
+ (Some "core.option.Option.unwrap") None;
]
@ List.flatten
(List.map