aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-context.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-05-05 10:49:40 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-05-05 10:52:32 +0100
commitfad543c8b8bc9c9c2ca98f28b13182dc28e65a28 (patch)
tree920e61b1df2c0b39934d08c5338a9f27e283ca57 /gcc/rust/backend/rust-compile-context.h
parentb1dcbc3d8e2fedd7b0c2f42554f4c2297469dabe (diff)
downloadgcc-fad543c8b8bc9c9c2ca98f28b13182dc28e65a28.zip
gcc-fad543c8b8bc9c9c2ca98f28b13182dc28e65a28.tar.gz
gcc-fad543c8b8bc9c9c2ca98f28b13182dc28e65a28.tar.bz2
Add locations to implicit inference variables and partially revert 91c5b94
When we have expression paths to generic functions we need to resolve all type parameters to something otherwise we are left with orphaned inference variables. This adds the same checks from rustc back in, previously the PathInExpression resolver abused inference variables as it was implemented incorrectly since this is fixed in previous PRs we can bring this back in to make typing more strict again. Fixes #375
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions