Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of Resolver::get_builtin_types #3236

Merged
merged 1 commit into from
Nov 1, 2024

Commits on Nov 1, 2024

  1. Remove usage of Resolver::get_builtin_types

    gcc/rust/ChangeLog:
    
    	* backend/rust-compile-context.cc
    	(Context::setup_builtins): Use TypeCheckContext::get_builtins
    	instead of Resolver::get_builtin_types,
    	TypeCheckContext::lookup_type_by_node_id, and
    	TypeCheckContext::lookup_type.
    	* typecheck/rust-hir-type-check.h
    	(TypeCheckContext::get_builtins): Add.
    	* typecheck/rust-typecheck-context.cc
    	(TypeCheckContext::get_builtins): Add.
    
    Signed-off-by: Owen Avery <[email protected]>
    powerboat9 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c6eb9d4 View commit details
    Browse the repository at this point in the history