[COMMITTED 07/25] gccrs: TyTy: Store region constraints

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Wed Feb 7 15:26:31 GMT 2024


On Wed,  7 Feb 2024 12:43:53 +0100
arthur.cohen@embecosm.com wrote:

> diff --git a/gcc/rust/typecheck/rust-hir-type-check-implitem.h b/gcc/rust/typecheck/rust-hir-type-check-implitem.h
> index 067465ec77a..4d178440775 100644
> --- a/gcc/rust/typecheck/rust-hir-type-check-implitem.h
> +++ b/gcc/rust/typecheck/rust-hir-type-check-implitem.h
> @@ -97,6 +97,7 @@ private:
>    HIR::ImplBlock *parent;
>    TyTy::BaseType *self;
>    std::vector<TyTy::SubstitutionParamMapping> substitutions;
> +  TyTy::RegionConstraints region_costraints;
>  };

/region_costraint/s/cos/cons/;# or delete since it seems unused ATM?

thanks


More information about the Gcc-rust mailing list