diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-02-27 17:39:09 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-02-28 20:38:35 +0000 |
commit | a20426036a360d781dae2361ffd4c7dcfe4bb40a (patch) | |
tree | c3e3bf121e9d7df6def3b6af6fd3a68079d9274c /gcc/rust/hir/rust-hir-dump.cc | |
parent | 0632bfbf63449ed4d963d3a29aff1deb0b07e65f (diff) | |
download | gcc-a20426036a360d781dae2361ffd4c7dcfe4bb40a.zip gcc-a20426036a360d781dae2361ffd4c7dcfe4bb40a.tar.gz gcc-a20426036a360d781dae2361ffd4c7dcfe4bb40a.tar.bz2 |
gccrs: bug-fix implicit inference checks
When generating implicit inference variables we can miss cases where the
other side might be another inference variable too but it runs the risk of
generating unending inference cycles needing more info but if they other
side is a non general inference variables like <integer> or <float> this
is safe to do so and allows us to infer mroe cases.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:
* typecheck/rust-unify.cc (UnifyRules::go): fix inference check
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions