]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ErrorCode[E0277] Type Does Not Implement Expected Trait
authorMuhammad Mahad <mahadtxt@gmail.com>
Thu, 22 Jun 2023 08:04:12 +0000 (13:04 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:46:29 +0000 (18:46 +0100)
commit858e3af945e5a86d65a7d3776b4d51ca677967f9
treea1c8fec7935e4bcb94ffd5edb19f5a08a588482f
parent182db4ad089629b7235b1bb67bc0d221d4ce173a
gccrs: ErrorCode[E0277] Type Does Not Implement Expected Trait

Type Does Not Implement Expected Trait - the type [{integer}] cannot be indexed by u32

gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): passed "E0277"
* typecheck/rust-tyty.cc (BaseType::bounds_compatible): passed "E0277"

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/typecheck/rust-hir-type-check-expr.cc
gcc/rust/typecheck/rust-tyty.cc