diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-09-17 17:35:09 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-09-17 17:35:09 +0100 |
commit | aa019b251e9900e81e8b3ec258a4f1f340a91296 (patch) | |
tree | f583cecbc5729404572365295ca05628f2ddaf67 /gcc/rust/backend/rust-compile-context.h | |
parent | d9a0a5f864b69c68d410a14e0aa7ccbaae7eb144 (diff) | |
download | gcc-aa019b251e9900e81e8b3ec258a4f1f340a91296.zip gcc-aa019b251e9900e81e8b3ec258a4f1f340a91296.tar.gz gcc-aa019b251e9900e81e8b3ec258a4f1f340a91296.tar.bz2 |
Default to TyTy::Error node on TypePath resolution failure
We should insert the error node into the type context when we have a type
error such that covariant types using TyVar can still work, and avoid the
assertion to ensure something exists within the context for that id upon
creation.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions