From 682cae549a4eb29857f49fe72cf130e2ee577d8c Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Thu, 29 Apr 2021 18:38:51 +0100 Subject: Add missing comment for override_context --- gcc/rust/typecheck/rust-tyty.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/rust/typecheck/rust-tyty.h b/gcc/rust/typecheck/rust-tyty.h index ee13532..5beedda 100644 --- a/gcc/rust/typecheck/rust-tyty.h +++ b/gcc/rust/typecheck/rust-tyty.h @@ -432,6 +432,8 @@ public: const HIR::TypeParam &get_generic_param () { return generic; }; + // this is used for the backend to override the HirId ref of the param to + // what the concrete type is for the rest of the context void override_context (); bool needs_substitution () const -- cgit v1.1