-
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 19 pull requests #65570
Rollup of 19 pull requests #65570
Conversation
Those two are const fn and do not have any arguments. Inlining helps reducing generated code size in debug builds.
Instead of instaling OCaml bindings in a location where installation will not fail, don't build them in the first place.
Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a
Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a
Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a
This wins 3% on `unicode_normalization`.
The commit also removes the debug statement, because they annoyed me. This change wins another 1% on `unicode_normalization`, at least partly because it no longer needs to increment `iteration`.
Building Servo with a recent Nightly produces: ```rust warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See rust-lang#29597 --> components/script/lib.rs:14:1 | 14 | #![plugin(script_plugins)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | = note: `#[warn(deprecated)]` on by default ``` First, linking to rust-lang#29597 is not ideal since there is pretty much no discussion there of the deprecation and what can be used instead. This PR changes the link to the deprecation PR which does have more discussion. Second, the “remove this attribute” suggestion is rather unhelpful. Just because a feature is deprecated doesn’t mean that simply removing its use without a replacement is acceptable. In the case of custom lint, there is no replacement available. Prefixing a message with “help:” when telling users that they’re screwed honestly feels disrespectful. This PR also changes the message to be more factual.
Co-Authored-By: Mark Rousskov <[email protected]>
Also, add a link to the growable type
⌛ Testing commit 3850408 with merge 91c3cd89f0cf61fae40500e346bf7c5f3e7050e7... |
💥 Test timed out |
I can't figure out why this failed. For now, @bors retry |
Rollup of 19 pull requests Successful merges: - #65016 (Always inline `mem::{size_of,align_of}` in debug builds) - #65197 (Prepare `MutVisitor`s to handle interned projections) - #65201 (Disable Go and OCaml bindings when building LLVM) - #65334 (Add long error explanation for E0575) - #65364 (Collect occurrences of empty blocks for mismatched braces diagnostic) - #65455 (Avoid unnecessary `TokenTree` to `TokenStream` conversions) - #65472 (Use a sharded dep node to dep node index map) - #65480 (Speed up `LexicalResolve::expansion()`) - #65493 (Add long error explanation for E0584) - #65496 (properly document panics in div_euclid and rem_euclid) - #65498 (Plugins deprecation: don’t suggest simply removing the attribute) - #65508 (add option to ping llvm ice-breakers to triagebot) - #65511 (save-analysis: Nest tables when processing impl block definitions) - #65513 (reorder fmt docs for more clarity) - #65532 (doc: make BitSet intro more short) - #65535 (rustc: arena-allocate the slice in `ty::GenericsPredicate`, not the whole struct.) - #65540 (show up some extra info when t!() fails) - #65549 (Fix left/right shift typo in wrapping rotate docs) - #65552 (Clarify diagnostics when using `~` as a unary op) Failed merges: - #65390 (Add long error explanation for E0576) - #65434 (Add long error explanation for E0577) - #65471 (Add long error explanation for E0578) r? @ghost
☀️ Test successful - checks-azure |
📣 Toolstate changed by #65570! Tested on commit 14f0ed6. 💔 clippy-driver on windows: test-pass → build-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra). |
Tested on commit rust-lang/rust@14f0ed6. Direct link to PR: <rust-lang/rust#65570> 💔 clippy-driver on windows: test-pass → build-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra). 💔 clippy-driver on linux: test-pass → build-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra). 🎉 rls on linux: test-fail → test-pass (cc @Xanewok, @rust-lang/infra).
Successful merges:
mem::{size_of,align_of}
in debug builds #65016 (Always inlinemem::{size_of,align_of}
in debug builds)MutVisitor
s to handle interned projections #65197 (PrepareMutVisitor
s to handle interned projections)TokenTree
toTokenStream
conversions #65455 (Avoid unnecessaryTokenTree
toTokenStream
conversions)LexicalResolve::expansion()
#65480 (Speed upLexicalResolve::expansion()
)ty::GenericsPredicate
, not the whole struct. #65535 (rustc: arena-allocate the slice inty::GenericsPredicate
, not the whole struct.)~
as a unary op #65552 (Clarify diagnostics when using~
as a unary op)Failed merges:
r? @ghost