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

Use nr2.0 in typechecker #3253

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Use nr2.0 in typechecker #3253

merged 1 commit into from
Nov 21, 2024

Commits on Nov 21, 2024

  1. Use nr2.0 in typechecker

    I probably missed a few spots, but this should cover most of the type
    checker.
    
    gcc/rust/ChangeLog:
    
    	* typecheck/rust-hir-type-check-expr.cc: Add includes.
    	(TypeCheckExpr::visit): Use name resolver 2.0.
    	(TypeCheckExpr::resolve_operator_overload): Likewise.
    	(TypeCheckExpr::resolve_fn_trait_call): Likewise.
    	* typecheck/rust-hir-type-check-path.cc
    	(TypeCheckExpr::visit): Likewise.
    	(TypeCheckExpr::resolve_segments): Likewise.
    	* typecheck/rust-hir-type-check-type.cc
    	(TypeCheckType::resolve_segments): Likewise.
    	(ResolveWhereClauseItem::visit): Likewise.
    	(TypeCheckType::visit): Avoid usage of
    	Resolver::get_unit_type_node_id when handling TupleType, use
    	name resolver 2.0 when handling QualifiedPathInType.
    
    gcc/testsuite/ChangeLog:
    
    	* rust/compile/nr2/exclude: Remove entries.
    
    Signed-off-by: Owen Avery <[email protected]>
    powerboat9 committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    e9c784d View commit details
    Browse the repository at this point in the history