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 can_eq to compare types for default assoc type error #107304

Commits on Jan 25, 2023

  1. Move note_and_explain_type_err from rustc_middle to rustc_infer

    This way we can properly deal with the types.
    Noratrieb committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    b222f2e View commit details
    Browse the repository at this point in the history
  2. Use can_eq to compare types for default assoc type error

    This works correctly with inference variables.
    Noratrieb committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    943000f View commit details
    Browse the repository at this point in the history