aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-04-29 18:38:51 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-04-29 18:38:51 +0100
commit682cae549a4eb29857f49fe72cf130e2ee577d8c (patch)
treec155e2f3cbfbbd3d35ba8397f6f4b67c6bfd0e86 /gcc
parent5d9855c69a23278780bdbd64a14cc8073497f6e3 (diff)
downloadgcc-682cae549a4eb29857f49fe72cf130e2ee577d8c.zip
gcc-682cae549a4eb29857f49fe72cf130e2ee577d8c.tar.gz
gcc-682cae549a4eb29857f49fe72cf130e2ee577d8c.tar.bz2
Add missing comment for override_context
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/typecheck/rust-tyty.h2
1 files changed, 2 insertions, 0 deletions
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