-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Rollup of 5 pull requests #96450
Commits on Apr 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 875cd89 - Browse repository at this point
Copy the full SHA 875cd89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da65da - Browse repository at this point
Copy the full SHA 2da65daView commit details
Commits on Apr 25, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 0079aad - Browse repository at this point
Copy the full SHA 0079aadView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1b074a - Browse repository at this point
Copy the full SHA e1b074aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a28aa4 - Browse repository at this point
Copy the full SHA 8a28aa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae38f35 - Browse repository at this point
Copy the full SHA ae38f35View commit details
Commits on Apr 26, 2022
-
Update src/test/rustdoc/issue-95873.rs
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c2a9a68 - Browse repository at this point
Copy the full SHA c2a9a68View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b4d6465 - Browse repository at this point
Copy the full SHA b4d6465View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 103b2cc - Browse repository at this point
Copy the full SHA 103b2ccView commit details -
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?
Configuration menu - View commit details
-
Copy full SHA for 7282f79 - Browse repository at this point
Copy the full SHA 7282f79View commit details -
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``
Configuration menu - View commit details
-
Copy full SHA for 12276eb - Browse repository at this point
Copy the full SHA 12276ebView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 7625551 - Browse repository at this point
Copy the full SHA 7625551View commit details