-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 7 pull requests #92003
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 7 pull requests #92003
Conversation
const_manually_drop was stabilized in 1.32 as mentioned in https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1320-2019-01-17
These are currently documented at https://rustc-dev-guide.rust-lang.org/rustdoc-internals.html#hot-potato but can easily go out of date. We'd like to document them in place and link to https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/passes/index.html
…rochenkov Warn when a `#[test]`-like built-in attribute macro is present multiple times. Fixes rust-lang#90979.
…rop-since, r=kennytm Fix since attribute for const_manually_drop feature const_manually_drop was stabilized in 1.32 as mentioned in https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1320-2019-01-17
…wiser Remove `in_band_lifetimes` from `rustc_borrowck` See rust-lang#91867 for more information.
…riplett Add `io::Error::other` This PR adds a small utility constructor, `io::Error::other`, a shorthand for `io::Error::new(io::ErrorKind::Other, err)`, something I find myself writing often. For some concrete stats, a quick search on [grep.app](https://grep.app) shows that more than half of the uses of `io::Error::new` use `ErrorKind::Other`: ``` Error::new\((?:std::)?(?:io::)?ErrorKind:: => 3,898 results Error::new\((?:std::)?(?:io::)?ErrorKind::Other => 2,186 results ```
Pull in libdevstat on FreeBSD Similar to rust-lang#90495, spotted in rust-lang#91909.
Add module documentation for rustdoc passes These are currently documented at https://rustc-dev-guide.rust-lang.org/rustdoc-internals.html#hot-potato but can easily go out of date. We'd like to document them in place and link to https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/passes/index.html [Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/moving.20pass.20docs/near/265058351). r? `@camelid`
Fix default_method_body_is_const when used across crates r? `@oli-obk` unblocks rust-lang#91439.
@bors r+ rollup=never p=7 |
📌 Commit a97384d has been approved by |
⌛ Testing commit a97384d with merge 52eebf5286e11defcd938471afa45d0e733fba76... |
💔 Test failed - checks-actions |
@bors retry dist-x86_64-apple-alt did not start it seems |
☀️ Test successful - checks-actions |
Finished benchmarking commit (23c2723): comparison url. Summary: This change led to very large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Successful merges:
#[test]
-like built-in attribute macro is present multiple times. #91172 (Warn when a#[test]
-like built-in attribute macro is present multiple times.)in_band_lifetimes
fromrustc_borrowck
#91879 (Removein_band_lifetimes
fromrustc_borrowck
)io::Error::other
#91947 (Addio::Error::other
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup