diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-07-16 12:05:38 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-07-16 13:07:17 +0100 |
commit | 40ab687d56597abc6d2ead6dc4e5a051923aca45 (patch) | |
tree | a0eb9997e6add34e1040f8454965cdb0f3db6410 /gcc/rust/parse/rust-parse-impl.h | |
parent | ff137b6261c1fdbc2e49a439fb5872ec673e7447 (diff) | |
download | gcc-40ab687d56597abc6d2ead6dc4e5a051923aca45.zip gcc-40ab687d56597abc6d2ead6dc4e5a051923aca45.tar.gz gcc-40ab687d56597abc6d2ead6dc4e5a051923aca45.tar.bz2 |
Make TyTy::BaseType::can_eq const
When we are trying to check for possible equivalence such as a simple
generic function against a substituted one we do not and should not require
mutability. This enforces some code tidy up by providing a const visitor
pattern for types.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions