aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2024-09-05 19:44:55 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:08 +0100
commit2438584da1f8bbdfdc21b5a2a562472e0c572589 (patch)
treef99e97bce6deebbe5da50570331bbb73f5f8f472 /gcc/rust/resolve/rust-ast-resolve-path.h
parent99cbcd7c45354e334f6c30a937c96cd9962b583d (diff)
downloadgcc-2438584da1f8bbdfdc21b5a2a562472e0c572589.zip
gcc-2438584da1f8bbdfdc21b5a2a562472e0c572589.tar.gz
gcc-2438584da1f8bbdfdc21b5a2a562472e0c572589.tar.bz2
gccrs: Avoid accidental insertion into map
gcc/rust/ChangeLog: * resolve/rust-ast-resolve-pattern.cc (PatternDeclaration::check_bindings_consistency): Check if outer_bindings_map contains an entry before indexing. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions