-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 7 pull requests #102843
Rollup of 7 pull requests #102843
Commits on Sep 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d45f6db - Browse repository at this point
Copy the full SHA d45f6dbView commit details -
Essentially no new code here, just exposing the previously-`pub(crate)` `ValidAlign` type under the name from the ACP.
Configuration menu - View commit details
-
Copy full SHA for 585bcc6 - Browse repository at this point
Copy the full SHA 585bcc6View commit details
Commits on Sep 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e2d7cdc - Browse repository at this point
Copy the full SHA e2d7cdcView commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c158b7b - Browse repository at this point
Copy the full SHA c158b7bView commit details
Commits on Oct 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 293f662 - Browse repository at this point
Copy the full SHA 293f662View commit details -
Configuration menu - View commit details
-
Copy full SHA for be1c7aa - Browse repository at this point
Copy the full SHA be1c7aaView commit details
Commits on Oct 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 70f3c79 - Browse repository at this point
Copy the full SHA 70f3c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dedb91 - Browse repository at this point
Copy the full SHA 7dedb91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a4d4d5 - Browse repository at this point
Copy the full SHA 9a4d4d5View commit details -
Rollup merge of rust-lang#102055 - c410-f3r:moar-errors, r=petrochenkov
Move some tests to more reasonable directories r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 1381e48 - Browse repository at this point
Copy the full SHA 1381e48View commit details -
Rollup merge of rust-lang#102072 - scottmcm:ptr-alignment-type, r=thomcc
Add `ptr::Alignment` type Essentially no new code here, just exposing the previously-`pub(crate)` `ValidAlign` type under the name from the ACP. ACP: rust-lang/libs-team#108 Tracking Issue: rust-lang#102070 r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for c4187f2 - Browse repository at this point
Copy the full SHA c4187f2View commit details -
Rollup merge of rust-lang#102794 - dtolnay:termination, r=thomcc
Make tests capture the error printed by a Result return An error returned by tests previously would get written directly to stderr, instead of to the capture buffer set up by the test harness. This PR makes it write to the capture buffer so that it can be integrated as part of the test output by build tools such as `buck test`, since being able to read the error message returned by a test is pretty critical to debugging why the test failed. <br> **Before:** ```rust // tests/test.rs #[test] fn test() -> Result<(), &'static str> { println!("STDOUT"); eprintln!("STDERR"); Err("RESULT") } ``` ```console $ cargo build --test test $ target/debug/deps/test-???????????????? -Z unstable-options --format=json { "type": "suite", "event": "started", "test_count": 1 } { "type": "test", "event": "started", "name": "test" } Error: "RESULT" { "type": "test", "name": "test", "event": "failed", "stdout": "STDOUT\nSTDERR\n" } { "type": "suite", "event": "failed", "passed": 0, "failed": 1, "ignored": 0, "measured": 0, "filtered_out": 0, "exec_time": 0.00040313 } ``` **After:** ```console $ target/debug/deps/test-???????????????? -Z unstable-options --format=json { "type": "suite", "event": "started", "test_count": 1 } { "type": "test", "event": "started", "name": "test" } { "type": "test", "name": "test", "event": "failed", "stdout": "STDOUT\nSTDERR\nError: \"RESULT\"" } { "type": "suite", "event": "failed", "passed": 0, "failed": 1, "ignored": 0, "measured": 0, "filtered_out": 0, "exec_time": 0.000261894 } ```
Configuration menu - View commit details
-
Copy full SHA for 13baeee - Browse repository at this point
Copy the full SHA 13baeeeView commit details -
Rollup merge of rust-lang#102820 - ehuss:let-else-nightly-suggestion,…
… r=petrochenkov Show let-else suggestion on stable. The E0005 error message has a suggestion to use let-else. Now that let-else is stabilized, I think this message should be included on non-nightly toolchains. I suspect this was just an oversight from rust-lang#93628. [`E0005.stderr`](https://github.com/ehuss/rust/blob/be1c7aad723126b2ea65543b4ceed54167b841a2/src/test/ui/error-codes/E0005.stderr#L22-L25) contains an example of what this suggestion looks like.
Configuration menu - View commit details
-
Copy full SHA for c944211 - Browse repository at this point
Copy the full SHA c944211View commit details -
Rollup merge of rust-lang#102829 - compiler-errors:rename-impl-item-k…
…ind, r=TaKO8Ki rename `ImplItemKind::TyAlias` to `ImplItemKind::Type` The naming of this variant seems inconsistent given that this is not really a "type alias", and the associated type variant for `TraitItemKind` is just called `Type`.
Configuration menu - View commit details
-
Copy full SHA for 124c046 - Browse repository at this point
Copy the full SHA 124c046View commit details -
Rollup merge of rust-lang#102831 - compiler-errors:rustdoc-norm-oops,…
… r=jyn514 Don't use unnormalized type in `Ty::fn_sig` call in rustdoc `clean_middle_ty` Self-explanatory Fixes rust-lang#102828
Configuration menu - View commit details
-
Copy full SHA for 23c2d21 - Browse repository at this point
Copy the full SHA 23c2d21View commit details -
Rollup merge of rust-lang#102834 - compiler-errors:unnecessary-lift, …
…r=jyn514 Remove unnecessary `lift`/`lift_to_tcx` calls from rustdoc Not sure why they were here in the first place
Configuration menu - View commit details
-
Copy full SHA for f38b564 - Browse repository at this point
Copy the full SHA f38b564View commit details