-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 16 pull requests #58559
Rollup of 16 pull requests #58559
Conversation
Now that we have {to|from}_be_bytes the code can be simpler. (Inspired by PR rust-lang#57740)
Since the generic-ness is only for the as_refs, might as well have std just compile the important part once instead of on every use.
I felt the description of forbid was misleading/incomplete without mentioning how --cap-lints interacts with it.
The rustc "-g" CLI flag was miss documented to be a synonym of "-C debug-level=2" and not the correct "-C debuginfo=2".
The rustc "-g" and "-o" fags are synonyms of the "-c" codegen flags. This adds a link to the codegen docs for each synonym.
…Zoxc HirId-ify intravisit A big step towards rust-lang#57578. This affects mostly `hir::{collector, intravisit}` and `rustc::lint`.
Update Clippy, RLS and rustfmt Update Clippy to rust-lang/rust-clippy@32ee306 Update RLS to rust-lang/rls@0d6f53e Update rustfmt to rust-lang/rustfmt@d6829d6 r? @Manishearth @oli-obk
…=oli-obk Use less explicit shifting in std::net::ip Now that we have `{to|from}_be_bytes` the code can be simpler. (Inspired by PR rust-lang#57740)
Don't use an allocation for ItemId in StmtKind
Monomorphize less code in fs::{read|write} Since the generic-ness is only for the as_refs, might as well have std just compile the important part once instead of on every use.
…ts, r=oli-obk Mention capping forbid lints I felt the description of forbid was misleading/incomplete without mentioning how --cap-lints interacts with it.
update miri r? @oli-obk Fixes rust-lang#58558
…RalfJung Remove UB in pointer tests UB found by Miri.
…albini Bump the bootstrap compiler This compiler includes rust-lang#58501, which fixes an annoying ICE while working on rustc itself. r? @pietroalbini
…TimNN Fix doc for rustc "-g" flag The rustc `-g` CLI flag was miss documented to be a synonym of `-C debug-level=2` and not `-C debuglevel=2`. Also add links to the codegen docs for each synonym. I am unsure of this will conflict with work on rust-lang#52938
…Centril Add regression test for a specialization-related ICE (rust-lang#39448) Closes rust-lang#39448. This is my first time contributing, I hope I got everything right. :)
… r=Centril librustc_codegen_llvm => 2018 Transitions `librustc_codegen_llvm` to Rust 2018; cc rust-lang#58099 r? @Centril
Explain a panic in test case net::tcp::tests::double_bind Those who try to build libstd on the Windows Subsystem for Linux experience a single failing test, where the point of failure is an explicit but anonymous panic, as reported in rust-lang#49367 This commit somewhat explains why and allows diagnosing a little.
Add a note about 2018e if someone uses `try {` in 2015e Inspired by rust-lang#58491, where a `try_blocks` example was accidentally run in 2015, which of course produces a bunch of errors. What's the philosophy about gating for this? The keyword is stably a keyword in 2018, so I haven't gated it for now but am not mentioning what the keyword _does_. Let me know if I should do differently.
@bors r+ p=150 treeclosed=160 Will reopen the tree after 58549 is merged. |
📌 Commit df0912e has been approved by |
🌲 The tree is currently closed for pull requests below priority 160, this pull request will be tested once the tree is reopened |
libstd => 2018 Transitions `libstd` to Rust 2018; cc rust-lang#58099
📌 Commit 6688c77 has been approved by |
🌲 The tree is currently closed for pull requests below priority 160, this pull request will be tested once the tree is reopened |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors r- |
Let's retry after libstd is upgraded to 2018 🤷 |
Successful merges:
overflowing_literals
lint for all editions #55632 (Deny theoverflowing_literals
lint for all editions)try {
in 2015e #58555 (Add a note about 2018e if someone usestry {
in 2015e)