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

select: treat ErrorCandidate as a real error #29954

Closed
wants to merge 2 commits into from

Commits on Nov 25, 2015

  1. select: treat ErrorCandidate as a real error

    Otherwise, projection can result in type errors that are unified
    into the trait inputs. We should probably refactor the
    `normalize_to_error` mess.
    arielb1 authored and Ariel Ben-Yehuda committed Nov 25, 2015
    Configuration menu
    Copy the full SHA
    eb84141 View commit details
    Browse the repository at this point in the history
  2. improve cast handling - this fixes test failures

    the problem is that now "type_is_known_to_be_sized" now returns
    false when called on a type with ty_err inside - this prevents
    spurious errors (we may want to move the check to check::cast
    anyway - see rust-lang#12894).
    Ariel Ben-Yehuda committed Nov 25, 2015
    Configuration menu
    Copy the full SHA
    fd0bd39 View commit details
    Browse the repository at this point in the history