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
{{ message }}
Repository navigation
LLBC backend: generic functions with trait bounds abort translation #5047
kani test.rs -Zlean panics with Expect free type var id in translate_generic_args (mir_to_ullbc/mod.rs), reached from translate_fn_ptr while translating a call.
Behind it is the larger gap: a trait method called on a generic type (x.clone() with T: Clone) can only be translated with a trait reference, the way Charon emits TraitMethod calls with the function's trait clauses. The backend doesn't translate trait clauses or trait references, so #5045 makes such calls report call to trait method ... with generic arguments instead of crashing, but they still don't translate. This blocks proofs about any generic code with bounds, which is most generic code.
Activity