You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use std::borrow::Borrow;pubenumList<T>{Cons(T,Box<List<T>>),Nil,}fnfoo(v:&List<List<u8>>) -> Option<List<u8>>{ifletList::Cons(h, t) = v {letmut t = t.borrow();letmut last = h;whileletList::Cons(ht, tt) = t
{
last = ht;
t = tt.borrow();}None}else{None}}
Trigger
$ aeneas -backend lean list_cons.llbc
[Info ] Imported: list_cons.llbc
[Info ] Generated the partial file (because of errors): ./ListCons.lean
[Error] Unreachable
Source: 'src/main.rs', lines 11:8-18:5
The text was updated successfully, but these errors were encountered: