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

Rollup of 5 pull requests #97988

Closed
wants to merge 14 commits into from
Closed

Commits on Jun 5, 2022

  1. Configuration menu
    Copy the full SHA
    67ec969 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fc9e95 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Configuration menu
    Copy the full SHA
    e848eca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    119d314 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d69aed1 View commit details
    Browse the repository at this point in the history
  4. fix rust-lang#71363 test by adding `-Z translate-remapped-path-to-loc…

    …al-path=no`
    
    The test relies on library/std/src/error.rs not corresponding to a local
    path, but remapping might still find the related local file of a
    remapped path. To fix the test, this adds a new -Z flag to disable
    finding the corresponding local path of a remapped path.
    pietroalbini committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    410e283 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Address comments

    compiler-errors committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    91b9988 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2022

  1. Configuration menu
    Copy the full SHA
    74ef148 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9a924d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#97761 - RalfJung:vtable-validation, r=cjgillot

    validating the vtable can lead to Stacked Borrows errors
    
    Fixes rust-lang/miri#2123
    Dylan-DPC authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    d6e2d6d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#97778 - compiler-errors:misc-diagnostics-ti…

    …dy, r=cjgillot
    
    Tidy up miscellaneous bounds suggestions
    
    Just some small fixes to suggestions
    
    - Generalizes `Ty::is_suggestable` into a `TypeVisitor`, so that it can be called on things other than `Ty`
    - Makes `impl Trait` in arg position no longer suggestible (generalizing the fix in rust-lang#97640)
    - Fixes `impl Trait` not being replaced with fresh type param when it's deeply nested in function signature (fixes rust-lang#97760)
    - Fixes some poor handling of `where` clauses with no predicates (also rust-lang#97760)
    - Uses `InferCtxt::resolve_numeric_literals_with_default` so we suggest `i32` instead of `{integer}` (fixes rust-lang#97677)
    
    Sorry there aren't many tests the fixes. Most of them would just be duplicates of other tests with empty `where` clauses or `impl Trait` in arg position instead of generic params. Let me know if you'd want more test coverage.
    Dylan-DPC authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    fc36b0d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#97789 - ferrocene:pa-fix-issue-71363-test, …

    …r=cjgillot
    
    Fix rust-lang#71363's test by adding `-Z translate-remapped-path-to-local-path=no`
    
    The test relies on `library/std/src/error.rs` not corresponding to a local path, but remapping might still find the related local file of a remapped path. To fix the test, this PR adds a new `-Z` flag to disable finding the corresponding local path of a remapped path.
    Dylan-DPC authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    584cf06 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#97979 - ben0x539:providerdocs, r=Dylan-DPC

    Fix typos in Provider API docs
    Dylan-DPC authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    958cf35 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#97987 - TaKO8Ki:remove-unnecessary-format-m…

    …acro, r=Dylan-DPC
    
    remove an unnecessary `String`
    Dylan-DPC authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    b9903d9 View commit details
    Browse the repository at this point in the history