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

[E0391] Detected type dependency cycle #2561

Merged
merged 1 commit into from
Aug 18, 2023

Commits on Aug 15, 2023

  1. gccrs: [E0391] Detected type dependency cycle

    This errorcode & message emits when cycle
    detected when computing the super predicates
    of `x` which requires computing the super
    predicates of `y`, which again requires
    computing the super predicates of `x`,
    completing the cycle.
    
    gcc/rust/ChangeLog:
    
    	* typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_trait):
    	Updated errorcode & more userfriendly message.
    
    gcc/testsuite/ChangeLog:
    
    	* rust/compile/issue-1589.rs: Updated comment for dejagnu.
    	* rust/compile/trait-cycle.rs: New relevant test.
    
    Signed-off-by: Muhammad Mahad <[email protected]>
    MahadMuhammad committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    7843d50 View commit details
    Browse the repository at this point in the history