aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-05-12 17:44:03 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-05-12 17:44:03 +0100
commit17258c94f8c996c26ccde103afd1c0a8a343301b (patch)
tree6873a159f54d69e673fdb9191a751705872b7656 /gcc/rust/backend
parentdecdb126e54b0c45b31ba1fa1d1c96262cafb8e0 (diff)
downloadgcc-17258c94f8c996c26ccde103afd1c0a8a343301b.zip
gcc-17258c94f8c996c26ccde103afd1c0a8a343301b.tar.gz
gcc-17258c94f8c996c26ccde103afd1c0a8a343301b.tar.bz2
Enhance TyTy::ParamType::is_equal
ParamTypes are a strange case because we can say a type parameter T was substituted by an i32 so if you do an is_equal for: T:i32 vs i32 The type kinds won't match but they are equal in the actual type they represent. The missing piece was that Type parameters can match each other if their symbols match.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions