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

[WIP] defer adding implicit Sized bounds #86371

Closed
wants to merge 5 commits into from

Commits on Jun 5, 2021

  1. move implicit Sized predicate to end of list

    In `Bounds::predicates()`, move the implicit `Sized` predicate to the
    end of the generated list. This means that if there is an explicit
    `Sized` bound, it will be checked first, and any resulting
    diagnostics will have a more useful span.
    tlyu committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    5864487 View commit details
    Browse the repository at this point in the history
  2. update ui test expectations

    tlyu committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    6676902 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. refactor LoweringContext::lower_generics_mut

    Reduce nesting by using early exits and factoring out a helper
    function. Also add comments explaining why the copying of
    `?Sized` bounds is necessary.
    tlyu committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    d05def2 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    e48bfeb View commit details
    Browse the repository at this point in the history
  2. bless ui test stderr

    tlyu committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    200dda3 View commit details
    Browse the repository at this point in the history