-
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 20 pull requests #55912
Rollup of 20 pull requests #55912
Conversation
The repeated cloning of the result in `inherent_impls` queries has quite an impact on crates with many inherent trait implementations.
This avoids a moderately hot allocation in `parse_lit_token`.
When reading this I wondered what “some significant optimizations” referred to. As far as I can tell, the specialization of `.fuse()` is the only case where `FusedIterator` has any impact at all. Is this accurate @Stebalien?
This means it can be used by more crates.
And make it x86_64-only so it can use `==` instead of `<=`.
And make them x86_64-only so they can use `==` instead of `<=`.
@bors r+ p=21 |
⌛ Testing commit 7921572 with merge 92af91bb950f27ca841d7ec3bc67d3ca2fe6be68... |
💔 Test failed - status-travis |
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 retry |
⌛ Testing commit 7921572 with merge 3cb42d725d089ed1e4a53f75e25532ea7a9d38b5... |
💥 Test timed out |
@bors retry ಠ_ಠ |
Rollup of 20 pull requests Successful merges: - #55136 (Remove short doc where it starts with a codeblock) - #55711 (Format BtreeMap::range_mut example) - #55722 (impl_stable_hash_for: support enums and tuple structs with generic parameters) - #55754 (Avoid converting bytes to UTF-8 strings to print, just pass bytes to stdout/err) - #55804 (rustdoc: don't inline `pub use some_crate` unless directly asked to) - #55805 (Move `static_assert!` into librustc_data_structures) - #55837 (Make PhantomData #[structural_match]) - #55840 (Fix TLS errors when downloading stage0) - #55843 (add FromIterator<A> to Box<[A]>) - #55858 (Small fixes on code blocks in rustdoc) - #55863 (Fix a typo in std::panic) - #55870 (Fix typos.) - #55874 (string: Add documentation for `From` impls) - #55879 (save-analysis: Don't panic for macro-generated use globs) - #55882 (Reference count `crate_inherent_impls`s return value.) - #55888 (miri: for uniformity, also move memory_deallocated to AllocationExtra) - #55889 (global allocators: add a few comments) - #55896 (Document optimizations enabled by FusedIterator) - #55905 (Change `Lit::short_name` to `Lit::literal_name`.) - #55908 (Fix their/there grammar nit)
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@f1d6183. Direct link to PR: <rust-lang/rust#55912> 💔 rls on windows: test-pass → test-fail (cc @nrc @Xanewok, @rust-lang/infra).
I can't see an error in the logs :-s |
@nrc You've got a spurious error in the RLS test.
|
Successful merges:
pub use some_crate
unless directly asked to #55804 (rustdoc: don't inlinepub use some_crate
unless directly asked to)static_assert!
into librustc_data_structures #55805 (Movestatic_assert!
into librustc_data_structures)From
impls #55874 (string: Add documentation forFrom
impls)crate_inherent_impls
s return value. #55882 (Reference countcrate_inherent_impls
s return value.)Lit::short_name
toLit::literal_name
. #55905 (ChangeLit::short_name
toLit::literal_name
.)