We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f658340 commit a6cd608Copy full SHA for a6cd608
gcc/rust/typecheck/rust-tyty.h
@@ -717,7 +717,7 @@ class SubstitutionArgumentMappings
717
return true;
718
}
719
720
- Location get_locus () { return locus; }
+ Location get_locus () const { return locus; }
721
722
size_t size () const { return mappings.size (); }
723
@@ -947,6 +947,11 @@ class SubstitutionRef
947
virtual BaseType *handle_substitions (SubstitutionArgumentMappings mappings)
948
= 0;
949
950
+ SubstitutionArgumentMappings get_used_arguments () const
951
+ {
952
+ return used_arguments;
953
+ }
954
+
955
protected:
956
std::vector<SubstitutionParamMapping> substitutions;
957
SubstitutionArgumentMappings used_arguments;
0 commit comments