diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-01-09 19:54:55 -0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:17 +0200 |
commit | 364f4cd3072cb1fa99431fe001f03451059f075e (patch) | |
tree | 56f4246ae0bb7b5b50aaca8b6bd1c4a310c4a73c /gcc/rust/backend/rust-tree.cc | |
parent | 7eab9d18d97d0ea938c5c7194a7a82109d3a5ea6 (diff) | |
download | gcc-364f4cd3072cb1fa99431fe001f03451059f075e.zip gcc-364f4cd3072cb1fa99431fe001f03451059f075e.tar.gz gcc-364f4cd3072cb1fa99431fe001f03451059f075e.tar.bz2 |
gccrs: Reuse TypeCheckPattern on LetStmt's
Update Rust type-checking to reuse TypeCheckPattern on HIR::LetStmt's.
This will unify the paths and improve error handling.
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-stmt.cc (TypeCheckStmt::visit): Cleanup LetStmt
type checking.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-tree.cc')
0 files changed, 0 insertions, 0 deletions