aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-03 16:12:46 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-03 19:27:24 +0000
commit22465fbc8cca239aadcb35cd51d820d6d7213238 (patch)
tree29b41d8c4028c752e2b8d20ff8e9412bab067a31 /gcc/rust/hir
parent6540653bc29778a5473746bc7463c75204e07c23 (diff)
downloadgcc-22465fbc8cca239aadcb35cd51d820d6d7213238.zip
gcc-22465fbc8cca239aadcb35cd51d820d6d7213238.tar.gz
gcc-22465fbc8cca239aadcb35cd51d820d6d7213238.tar.bz2
gccrs: destructure parameter names.
When we have complex generic code you can end up with situations where we compile types: Maybe<<S as Foo>::A> Into Maybe<<placeholder:<Projection=::()>>> This calls destructure to cleanup the naming here and avoid making non canonical TREE_TYPES hitting the verify_gimple code triggering non-trival constructors. Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * typecheck/rust-tyty.cc (ParamType::get_name): call destructure
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions