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 #96450

Closed

Commits on Apr 24, 2022

  1. Configuration menu
    Copy the full SHA
    875cd89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2da65da View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Fix running bootstrap tests on a fresh clone

    In rust-lang#96303, I changed the tests not to manage submodules, with the main
    goal of avoiding a clone for llvm-project. Unfortunately, there are some tests
    which depend on submodules - I didn't notice locally because they were already checked out for me,
    and CI doesn't use submodule handling at all. Fresh clones, however, were impacted:
    ```
    failures:
    
    ---- builder::tests::defaults::doc_default stdout ----
    thread 'main' panicked at 'fs::read_dir(builder.src.join(&relative_path).join("redirects")) failed with No such file or directory (os error 2)', src/bootstrap/doc.rs:232:21
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
    ---- builder::tests::dist::dist_only_cross_host stdout ----
    thread 'main' panicked at 'fs::read_to_string(&toml_file_name) failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1314:20
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    ```
    
    Try and get the best of both worlds by only checking out the submodules actually used in tests.
    jyn514 committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    0079aad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1b074a View commit details
    Browse the repository at this point in the history
  3. Fix issue 96381

    compiler-errors committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    8a28aa4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae38f35 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Update src/test/rustdoc/issue-95873.rs

    Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
    notriddle and GuillaumeGomez authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    c2a9a68 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#96370 - compiler-errors:cleanup-report_meth…

    …od_error, r=estebank
    
    Cleanup `report_method_error` a bit
    
    1. Remove an unnecessary indentation level
    2. Split out a couple of large functions from this humongo function body
    compiler-errors authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b4d6465 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#96375 - jyn514:bootstrap-submodules, r=Mark…

    …-Simulacrum
    
    Fix running bootstrap tests on a fresh clone
    
    In rust-lang#96303, I changed the tests not to manage submodules, with the main
    goal of avoiding a clone for llvm-project. Unfortunately, there are some tests
    which depend on submodules - I didn't notice locally because they were already checked out for me,
    and CI doesn't use submodule handling at all. Fresh clones, however, were impacted:
    ```
    failures:
    
    ---- builder::tests::defaults::doc_default stdout ----
    thread 'main' panicked at 'fs::read_dir(builder.src.join(&relative_path).join("redirects")) failed with No such file or directory (os error 2)', src/bootstrap/doc.rs:232:21
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
    ---- builder::tests::dist::dist_only_cross_host stdout ----
    thread 'main' panicked at 'fs::read_to_string(&toml_file_name) failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1314:20
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    ```
    
    Try and get the best of both worlds by only checking out the submodules actually used in tests.
    compiler-errors authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    103b2cc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#96383 - compiler-errors:issue-96381, r=este…

    …bank
    
    Fix erased region escaping into wfcheck due to rust-lang#95395
    
    We can just use `liberate_late_bound_regions` instead of `erase_late_bound_regions`... This gives us `ReEarlyBound` instead of `ReErased`, the former being something typeck actually knows how to deal with...
    
    Fixes rust-lang#96381
    
    Side-note: We only actually get far enough in the compiler pipeline to cause this ICE when we're invoking rustdoc. We actually abort rustc right before wfcheck because of the error that we emit (having `_` in the type signature). Why does rustdoc keep going even though we raise an error?
    compiler-errors authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    7282f79 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#96385 - marmeladema:nll-fix-trait-lifetime-…

    …bound-suggestions, r=jackh726
    
    Recover most `impl Trait` and `dyn Trait` lifetime bound suggestions under NLL
    
    This is done by replacing the duplicated (and very partial) implementation from borrowck with one inspsired from `NiceRegionError::try_report_static_impl_trait` and by re-using `suggest_new_region_bound`.
    
    Fixes rust-lang#96277
    
    r? ``@jackh726``
    compiler-errors authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    12276eb View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#96410 - notriddle:notriddle/issue-95873, r=…

    …GuillaumeGomez
    
    rustdoc: do not write `{{root}}` in `pub use ::foo` docs
    
    Fixes rust-lang#95873
    compiler-errors authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    7625551 View commit details
    Browse the repository at this point in the history