diff options
Diffstat (limited to 'gdb/rust-parse.c')
-rw-r--r-- | gdb/rust-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index af1b76f..66263b9 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -454,7 +454,7 @@ rust_parser::rust_lookup_type (const char *name) const struct block *block = pstate->expression_context_block; munge_name_and_block (&name, &block); - result = ::lookup_symbol (name, block, SEARCH_STRUCT_DOMAIN, NULL); + result = ::lookup_symbol (name, block, SEARCH_TYPE_DOMAIN, nullptr); if (result.symbol != NULL) { update_innermost_block (result); |