aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-03 18:42:21 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-03 19:21:12 +0000
commit6540653bc29778a5473746bc7463c75204e07c23 (patch)
tree63639196f347a39ddbdd6b0d03dd1e6efa2b7211 /gcc/rust/hir/rust-hir-dump.cc
parenta4c851df0358389970ffe3ce1ad495954729fc5f (diff)
downloadgcc-6540653bc29778a5473746bc7463c75204e07c23.zip
gcc-6540653bc29778a5473746bc7463c75204e07c23.tar.gz
gcc-6540653bc29778a5473746bc7463c75204e07c23.tar.bz2
gccrs: Take advantage of our new unify_and to inject inference
Wen computing higher ranked trait bounds where there are multiple type params and ones which are not bound entirely on the impl-type we need to inject inference variables as required to compute the types. The inference variables we inject are missing the callbacks that we can compute the bounds properly so this is the first part of the fix. Addresses #1893 Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * typecheck/rust-hir-trait-resolve.cc: use unify_and infer
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions