]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add check before calling `get_trait_ref()`
authorRyutaro Okada <1015ryu88@gmail.com>
Thu, 17 Jul 2025 12:28:44 +0000 (05:28 -0700)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:37:03 +0000 (16:37 +0200)
commit73def70e34805c22f70352f8db4ba6771f28777d
tree08c7828b00decefb26d27059339869de2e75c44b
parent9938133aca92cdab34b9c979162f3626244e57a6
gccrs: Add check before calling  `get_trait_ref()`

gcc/rust/ChangeLog:

* hir/tree/rust-hir-visitor.cc (DefaultHIRVisitor::walk):
Add check before calling  `get_trait_ref()`

Signed-off-by: Ryutaro Okada <1015ryu88@gmail.com>
gcc/rust/hir/tree/rust-hir-visitor.cc