diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-08-23 22:49:30 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-09-01 10:46:58 +0000 |
commit | acb4810bf06ac0e38cd9ede14f7eef4c3ebeb92a (patch) | |
tree | 51593f5f6217c1bec12ccb7c553659840025a9f4 /gcc/rust/hir | |
parent | b3933cc6ea4b51c2ac2b85f7ea461851dad8aee5 (diff) | |
download | gcc-acb4810bf06ac0e38cd9ede14f7eef4c3ebeb92a.zip gcc-acb4810bf06ac0e38cd9ede14f7eef4c3ebeb92a.tar.gz gcc-acb4810bf06ac0e38cd9ede14f7eef4c3ebeb92a.tar.bz2 |
Fix invalid call to vector::front in TypeBoundPredicate constructors
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-expr.cc
(TypeCheckExpr::resolve_fn_trait_call): Add TODO comment.
* typecheck/rust-tyty-bounds.cc
(TypeBoundPredicate::TypeBoundPredicate):
Add assertions, new error constructor.
(TypeBoundPredicate::error): Use new error constructor.
* typecheck/rust-tyty.h
(struct TypeBoundPredicate::mark_is_error): New.
(TypeBoundPredicate::TypeBoundPredicate):
Add new error constructor.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions