Hax_engine.Impl_infos
type t = {
trait_goal : Ast.Rust.trait_goal Prelude.option;
typ : Ast.Rust.ty;
The type implemented by the impl
block.
clauses : Ast.Rust.trait_goal Prelude.list;
The clauses that constraint this impl
block.
}
metadata of an impl
block
val lookup : Types.span -> Concrete_ident.t -> t Prelude.option
Lookup the implementation informations given a concrete ident. Returns Some _
if and only if the supplied identifier points to an Impl
.
WARNING: due to issue 363, when looking up certain identifiers generated by the engine, this function may return None
even though the supplied identifier points to an Impl
block.