-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 21 pull requests #55382
Rollup of 21 pull requests #55382
Commits on Oct 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8b097c4 - Browse repository at this point
Copy the full SHA 8b097c4View commit details -
replace escape-rust-expr test with dont-show-const-contents
The old test was supposed to check for proper html escaping when showing the contents of constants. This was changed as part of rust-lang#53409. The revised test asserts that the contents of the constant is not shown as part of the generated documentation.
Configuration menu - View commit details
-
Copy full SHA for 7d3d835 - Browse repository at this point
Copy the full SHA 7d3d835View commit details -
Add compile flags to playground-empty test
"Run" links to the playground are not added to the generated documentation if the unstable `--playground-url` argument is not passed to rustdoc. Therefore, without specifying `--playground-url` as a compile-flag, the test doesn't correctly assert that `#![doc(html_playground_url = "")]` removes playground links.
Configuration menu - View commit details
-
Copy full SHA for f97e094 - Browse repository at this point
Copy the full SHA f97e094View commit details
Commits on Oct 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 46ccce0 - Browse repository at this point
Copy the full SHA 46ccce0View commit details -
Fix unneeded-trait-implementations-title test
The `@!has` command does not support specifying just a PATH and an XPATH. That means that the previous test searched for the literal string `//h2[@id="implementations"]` within the generated output, which obviously didn't exist. Even after adding a trait implementation, the test still passed. The correct way to check for the existence of a DOM element with the id `implementations` is to use the `@count` keyword.
Configuration menu - View commit details
-
Copy full SHA for 5f8dc0d - Browse repository at this point
Copy the full SHA 5f8dc0dView commit details -
Struct names are no longer encapsulated in `<code>` tags, which meant that the test was not correctly verifying that it wasn't being show. I've also added a check to make sure the documentation page for the redirect::Qux struct is not generated at all.
Configuration menu - View commit details
-
Copy full SHA for a9a26de - Browse repository at this point
Copy the full SHA a9a26deView commit details -
The Auto Trait Implementation section is not wrapped in a `synthetic-implementations` class. In fact, it is wrapped in a `synthetic-implementations` id. However, we can generalize and completely remove the `synthetic-implementations` requirement. We just have to verify that there's no mention of "Auto Trait Implementations" anywhere.
Configuration menu - View commit details
-
Copy full SHA for 28596ad - Browse repository at this point
Copy the full SHA 28596adView commit details
Commits on Oct 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e961d39 - Browse repository at this point
Copy the full SHA e961d39View commit details
Commits on Oct 10, 2018
-
Use XPATH notation to match against flattened nodes
The generated code would look like `<code>impl <a href="...">Foo</a></code>` which the plain text matcher doesn't match. But by using the XPATH notation, the nodes are flattened and we can correctly assert that `impl Foo` does not occur in the generated docs.
Configuration menu - View commit details
-
Copy full SHA for e8bc04e - Browse repository at this point
Copy the full SHA e8bc04eView commit details -
The link that is matched against is not the same as would be generated by rustdoc. We should also check that the `foo/private` directory is not generated at all.
Configuration menu - View commit details
-
Copy full SHA for 9dbe902 - Browse repository at this point
Copy the full SHA 9dbe902View commit details -
The function is called `fn_def_with_doc`, not `fn_def_with`.
Configuration menu - View commit details
-
Copy full SHA for df79da9 - Browse repository at this point
Copy the full SHA df79da9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9217e3 - Browse repository at this point
Copy the full SHA a9217e3View commit details
Commits on Oct 22, 2018
-
If root is not START_BLOCK, `basic_blocks().len() - visited` does not represent their exact size.
Configuration menu - View commit details
-
Copy full SHA for 80a6b73 - Browse repository at this point
Copy the full SHA 80a6b73View commit details -
Add a cheap mode for
compute_missing_ctors
.`compute_missing_ctors` is called a lot. It produces a vector, which can be reasonably large (e.g. 100+ elements), but the vector is almost always only checked for emptiness. This commit changes `compute_missing_ctors` so it can be called in a cheap way that just indicates if the vector would be empty. If necessary, the function can subsequently be called in an expensive way to compute the full vector. This change reduces instruction counts for several benchmarks up to 2%.
Configuration menu - View commit details
-
Copy full SHA for b5336c0 - Browse repository at this point
Copy the full SHA b5336c0View commit details -
Fix Rustdoc ICE when checking blanket impls
Fixes rust-lang#55001, rust-lang#54744 Previously, SelectionContext would unconditionally cache the selection result for an obligation. This worked fine for most users of SelectionContext, but it caused an issue when used by Rustdoc's blanket impl finder. The issue occured when SelectionContext chose a ParamCandidate which contained inference variables. Since inference variables can change between calls to select(), it's not safe to cache the selection result - the chosen candidate might not be applicable for future results, leading to an ICE when we try to run confirmation. This commit prevents SelectionContext from caching any ParamCandidate that contains inference variables. This should always be completely safe, as trait selection should never depend on a particular result being cached. I've also added some extra debug!() statements, which I found helpful in tracking down this bug.
Configuration menu - View commit details
-
Copy full SHA for 4f2624c - Browse repository at this point
Copy the full SHA 4f2624cView commit details
Commits on Oct 23, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8544db0 - Browse repository at this point
Copy the full SHA 8544db0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad144ac - Browse repository at this point
Copy the full SHA ad144acView commit details
Commits on Oct 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8227a93 - Browse repository at this point
Copy the full SHA 8227a93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ab45ec - Browse repository at this point
Copy the full SHA 1ab45ecView commit details -
We're gonna link to nightly as this didn't make it into the corresponding stable.
Configuration menu - View commit details
-
Copy full SHA for 569228a - Browse repository at this point
Copy the full SHA 569228aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8818cb - Browse repository at this point
Copy the full SHA f8818cbView commit details
Commits on Oct 25, 2018
-
rustbuild: fix remap-debuginfo when building a release
Fallback to the release number as we can't get the git commit sha as we're not in a git repository. Fixes rust-lang#55341 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Configuration menu - View commit details
-
Copy full SHA for bbc3cd4 - Browse repository at this point
Copy the full SHA bbc3cd4View commit details -
Co-Authored-By: steveklabnik <steve@steveklabnik.com>
Configuration menu - View commit details
-
Copy full SHA for ee26e8e - Browse repository at this point
Copy the full SHA ee26e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7629ef - Browse repository at this point
Copy the full SHA f7629efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dc0287 - Browse repository at this point
Copy the full SHA 4dc0287View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4fe9b0 - Browse repository at this point
Copy the full SHA f4fe9b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cfd790 - Browse repository at this point
Copy the full SHA 2cfd790View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee7f4a2 - Browse repository at this point
Copy the full SHA ee7f4a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd77500 - Browse repository at this point
Copy the full SHA fd77500View commit details -
This commit reduces the size of `Statement` from 80 bytes to 56 bytes on 64-bit platforms, by boxing the `AscribeUserType` variant of `StatementKind`. This change reduces instruction counts on most benchmarks by 1--3%.
Configuration menu - View commit details
-
Copy full SHA for 38d9277 - Browse repository at this point
Copy the full SHA 38d9277View commit details
Commits on Oct 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a7fbf93 - Browse repository at this point
Copy the full SHA a7fbf93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3878d24 - Browse repository at this point
Copy the full SHA 3878d24View commit details -
Typo fixes in configure_cmake comments
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ea0c165 - Browse repository at this point
Copy the full SHA ea0c165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4747d83 - Browse repository at this point
Copy the full SHA 4747d83View commit details -
rustbuild: use configured linker to build boostrap
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Configuration menu - View commit details
-
Copy full SHA for bc87c71 - Browse repository at this point
Copy the full SHA bc87c71View commit details -
Use
SmallVec
for the queue incoerce_unsized
.This reduces the number of allocations done for the `tuple-stress` benchmark by 4%.
Configuration menu - View commit details
-
Copy full SHA for 526dc14 - Browse repository at this point
Copy the full SHA 526dc14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b98046 - Browse repository at this point
Copy the full SHA 6b98046View commit details -
Rollup merge of rust-lang#54816 - oli-obk:double_promotion, r=alexreg
Don't try to promote already promoted out temporaries fixes rust-lang#53201 r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 68d5fdd - Browse repository at this point
Copy the full SHA 68d5fddView commit details -
Rollup merge of rust-lang#54824 - Munksgaard:fix-49713, r=QuietMisdre…
…avus Cleanup rustdoc tests with `@!has` and `@!matches` Fixes rust-lang#49713 Here's a _long_ list of all the places that include `@!has`. I have marked the ones I have looked at so far. - [x] search-index.rs: fn priv_method() {} // @!has - priv_method - [x] search-index.rs: fn trait_method(&self) {} // @!has - priv_method - [x] search-index.rs: // @!has search-index.js Target - [x] short-dockblock.rs:// @!has foo/index.html '//*[@Class="docblock-short"]/p/h1' 'fooo' - [x] short-dockblock.rs:// @!has foo/index.html '//*[@Class="docblock-short"]/p/h2' 'mooood' - [x] keyword.rs:// @!has foo/index.html '//a/@href' 'foo/index.html' - [x] keyword.rs:// @!has foo/foo/index.html - [x] keyword.rs:// @!has-dir foo/foo - [x] issue-46380-2.rs:// @!has - '//*[@Class="impl"]' 'impl PublicTrait<PrivateStruct> for PublicStruct' - [x] escape-rust-expr.rs:// @!has escape_rust_expr/constant.CONST_S.html '//pre[@Class="rust const"]' '"<script>"' - [x] issue-33069.rs:// @!has - '//code' 'impl Bar for Foo' - [x] playground-empty.rs:// @!has foo/index.html '//a[@Class="test-arrow"]' "Run" - [x] issue-34473.rs:// @!has - SomeTypeWithLongName - [x] issue-34473.rs:// @!has - SomeTypeWithLongName - [x] issue-34473.rs:// @!has foo/struct.SomeTypeWithLongName.html - [x] issue-29584.rs:// @!has - 'impl Bar for' - [x] hidden-line.rs:// @!has hidden_line/fn.foo.html invisible - [x] manual_impl.rs:// @!has - '//*[@Class="docblock"]' 'Docs associated with the trait a_method definition.' - [x] manual_impl.rs:// @!has - '//*[@Class="docblock"]' 'There is another line' - [x] manual_impl.rs:// @!has - '//*[@Class="docblock"]' 'Docs associated with the trait a_method definition.' - [x] manual_impl.rs:// @!has - '//*[@Class="docblock"]' 'Docs associated with the trait c_method definition.' - [x] issue-19190-2.rs:// @!has - '//*[@id="method.new"]' 'fn new() -> String' - [x] unneeded-trait-implementations-title.rs:// @!has foo/struct.Bar.html '//*[@id="implementations"]' - [x] masked.rs:// @!has 'search-index.js' 'masked_method' - [x] masked.rs:// @!has 'foo/struct.String.html' 'MaskedTrait' - [x] masked.rs:// @!has 'foo/struct.String.html' 'masked_method' - [x] masked.rs:// @!has 'foo/trait.Clone.html' 'MaskedStruct' - [x] masked.rs:// @!has 'foo/struct.MyStruct.html' 'MaskedTrait' - [x] masked.rs:// @!has 'foo/struct.MyStruct.html' 'masked_method' - [x] masked.rs:// @!has 'foo/trait.MyTrait.html' 'MaskedStruct' - [x] redirect.rs:// @!has - '//code/a' 'Qux' - [x] issue-43701.rs:// @!has implementors/core/clone/trait.Clone.js - [x] union.rs: // @!has - //pre "b: u16" - [x] prim-title.rs:// @!has - '//head/title' 'foo' - [x] empty-section.rs:// @!has - '//*[@Class="synthetic-implementations"]' 'Auto Trait Implementations' - [x] traits-in-bodies-private.rs:// @!has - '//code' 'impl HiddenTrait for SomeStruct' - [x] playground-none.rs:// @!has foo/index.html '//a[@Class="test-arrow"]' "Run" - [x] issue-34025.rs:// @!has 'foo/sys/index.html' - [x] issue-34025.rs:// @!has 'foo/sys/sidebar-items.js' - [x] issue-34025.rs: // @!has 'foo/sys/fn.foo.html' - [x] issue-23812.rs:// @!has - '/// Outer comment' - [x] issue-23812.rs:// @!has - '//! Inner comment' - [x] issue-23812.rs:// @!has - '/** Outer block comment */' - [x] issue-23812.rs:// @!has - '/*! Inner block comment */' - [x] pub-use-extern-macros.rs:// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::bar;' - [x] pub-use-extern-macros.rs:// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::baz;' - [x] pub-use-extern-macros.rs:// @!has pub_use_extern_macros/macro.quux.html - [x] pub-use-extern-macros.rs:// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::quux;' - [x] issue-26606.rs:// @!has - '//a/@href' '../src/' - [x] foreigntype-reexport.rs:// @!has foreigntype_reexport/foreigntype.X4.html - [x] foreigntype-reexport.rs:// @!has foreigntype_reexport/index.html '//a[@Class="foreigntype"]' 'X4' - [x] issue-31899.rs:// @!has - 'rust rust-example-rendered' - [x] issue-31899.rs:// @!has - 'use ndarray::arr2' - [x] issue-31899.rs:// @!has - 'prohibited' - [x] hidden-trait-struct-impls.rs:// @!has foo/struct.Bar.html '//*[@id="impl-Foo"]' 'impl Foo for Bar' - [x] hidden-trait-struct-impls.rs:// @!has foo/struct.Bar.html '//*[@id="impl-Dark"]' 'impl Dark for Bar' - [x] hidden-trait-struct-impls.rs:// @!has foo/trait.Bam.html '//*[@id="implementors-list"]' 'impl Bam for Hidden' - [x] hidden-impls.rs:// @!has - 'Foo' - [x] hidden-impls.rs:// @!has - 'Foo' - [x] module-impls.rs:// @!has foo/index.html 'Implementations' - [x] issue-35169.rs:// @!has - '//*[@id="by_mut_ref.v"]' 'fn by_mut_ref(&mut self)' - [x] issue-35169.rs:// @!has - '//*[@id="method.by_mut_ref"]' 'fn by_mut_ref(&mut self)' - [x] issue-35169.rs:// @!has - '//*[@id="by_explicit_mut_ref.v"]' 'fn by_explicit_mut_ref(self: &mut Foo)' - [x] issue-35169.rs:// @!has - '//*[@id="method.by_explicit_mut_ref"]' 'fn by_explicit_mut_ref(self: &mut Foo)' - [x] issue-35169.rs:// @!has - '//*[@id="by_explicit_box.v"]' 'fn by_explicit_box(self: Box<Foo>)' - [x] issue-35169.rs:// @!has - '//*[@id="method.by_explicit_box"]' 'fn by_explicit_box(self: Box<Foo>)' - [x] issue-35169.rs:// @!has - '//*[@id="by_explicit_self_box.v"]' 'fn by_explicit_self_box(self: Box<Self>)' - [x] issue-35169.rs:// @!has - '//*[@id="method.by_explicit_self_box"]' 'fn by_explicit_self_box(self: Box<Self>)' - [x] issue-35169.rs:// @!has - '//*[@id="static_foo.v"]' 'fn static_foo()' - [x] issue-35169.rs:// @!has - '//*[@id="method.static_foo"]' 'fn static_foo()' - [x] extern-links.rs:// @!has foo/index.html '//a' 'extern_links' - [x] extern-links.rs:// @!has foo/index.html '//a' 'Foo' - [x] extern-links.rs: // @!has foo/hidden/extern_links/index.html - [x] extern-links.rs: // @!has foo/hidden/extern_links/struct.Foo.html - [x] issue-33178-1.rs:// @!has - //a/@title empty - [x] issue-33178-1.rs:// @!has - //a/@title variant_struct - [x] issue-47038.rs:// @!has - '//*[@id="macros"]' 'Macros' - [x] issue-47038.rs:// @!has - '//a/@href' 'macro.vec.html' - [x] issue-47038.rs:// @!has 'foo/macro.vec.html' - [x] issue-46766.rs:// @!has foo/index.html '//a/@href' './Enum/index.html' - [x] issue-32395.rs:// @!has - 'pub qux' - [x] issue-32395.rs:// @!has - 'pub Bar' - [x] issue-32395.rs:// @!has - 'pub qux' - [x] issue-32395.rs:// @!has - 'pub Bar' - [x] hidden-methods.rs:// @!has - 'Methods' - [x] hidden-methods.rs:// @!has - 'impl Foo' - [x] hidden-methods.rs:// @!has - 'this_should_be_hidden' - [x] hidden-methods.rs:// @!has - 'Methods' - [x] hidden-methods.rs:// @!has - 'impl Bar' - [x] hidden-methods.rs:// @!has - 'this_should_be_hidden' - [x] structfields.rs: // @!has - //pre "b: ()" - [x] structfields.rs: // @!has - //pre "c: usize" - [x] structfields.rs: // @!has - //pre "// some fields omitted" - [x] structfields.rs: // @!has - //pre "b: ()" - [x] issue-46767.rs:// @!has foo/index.html '//a/@href' './private/index.html' - [x] assoc-consts.rs: // @!has - FOO_HIDDEN - [x] assoc-consts.rs: // @!has - FOO_HIDDEN - [x] assoc-consts.rs: // @!has assoc_consts/struct.Bar.html 'BAR_PRIVATE' - [x] assoc-consts.rs: // @!has assoc_consts/struct.Bar.html 'BAR_HIDDEN' - [x] issue-53689.rs:// @!has - 'MyStruct' - [x] search-index-summaries.rs:// @!has - 'www.example.com' - [x] search-index-summaries.rs:// @!has - 'More Foo.' - [x] impl-everywhere.rs:// @!has foo/fn.foo.html '//section[@id="main"]//pre' "x: &\'x impl Foo" - [x] impl-everywhere.rs:// @!has foo/fn.foo.html '//section[@id="main"]//pre' "-> &\'x impl Foo {" - [x] impl-everywhere.rs:// @!has foo/fn.foo2.html '//section[@id="main"]//pre' "x: &\'x impl Foo" - [x] impl-everywhere.rs:// @!has foo/fn.foo2.html '//section[@id="main"]//pre' '-> impl Foo2 {' - [x] impl-everywhere.rs:// @!has foo/fn.foo_foo.html '//section[@id="main"]//pre' '-> impl Foo + Foo2 {' - [x] impl-everywhere.rs:// @!has foo/fn.foo2.html '//section[@id="main"]//pre' "x: &'x (impl Foo + Foo2)" - [x] issue-19190.rs:// @!has - '//*[@id="static_foo.v"]' 'fn static_foo()' - [x] issue-19190.rs:// @!has - '//*[@id="method.static_foo"]' 'fn static_foo()' - [x] deprecated-impls.rs: // @!has - 'fn_def_def_with_doc full' - [x] deprecated-impls.rs: // @!has - 'fn_empty_with_doc full' - [x] deprecated-impls.rs: // @!has - 'fn_def_with full' - [x] deprecated-impls.rs: // @!has - 'fn_def_def_with_doc full' - [x] issue-19190-3.rs:// @!has - '//*[@id="method.new"]' 'fn new() -> String' - [x] issue-19190-3.rs:// @!has - '//*[@id="method.static_baz"]' 'fn static_baz()' - [x] issue-19190-3.rs:// @!has - '//*[@id="method.static_baz"]' 'fn static_baz()' - [x] sidebar-items.rs:// @!has - '//*[@Class="sidebar-links"]/a' 'waza' - [x] sidebar-items.rs:// @!has - '//*[@Class="sidebar-links"]/a' 'waza' - [x] issue-27104.rs:// @!has - 'extern crate std' - [x] issue-27104.rs:// @!has - 'use std::prelude::' - [x] issue-13698.rs:// @!has issue_13698/struct.Foo.html '//*[@id="method.foo"]' 'fn foo' - [x] issue-13698.rs:// @!has issue_13698/struct.Foo.html '//*[@id="method.foo"]' 'fn bar' - [x] issue-41783.rs:// @!has - 'space' - [x] issue-41783.rs:// @!has - 'comment' - [x] trait-self-link.rs:// @!has trait_self_link/trait.Foo.html //a/@href ../trait_self_link/trait.Foo.html - [x] generic-impl.rs:// @!has foo/struct.Bar.html '//h3[@id="impl-ToString"]//code' 'impl<T> ToString for T' - [x] all.rs:// @!has foo/all.html 'private_module' - [x] issue-35169-2.rs:// @!has - '//*[@id="by_explicit_box.v"]' 'fn by_explicit_box(self: Box<Foo>)' - [x] issue-35169-2.rs:// @!has - '//*[@id="method.by_explicit_box"]' 'fn by_explicit_box(self: Box<Foo>)' - [x] issue-35169-2.rs:// @!has - '//*[@id="by_explicit_self_box.v"]' 'fn by_explicit_self_box(self: Box<Self>)' - [x] issue-35169-2.rs:// @!has - '//*[@id="method.by_explicit_self_box"]' 'fn by_explicit_self_box(self: Box<Self>)' - [x] issue-35169-2.rs:// @!has - '//*[@id="static_foo.v"]' 'fn static_foo()' - [x] issue-35169-2.rs:// @!has - '//*[@id="method.static_foo"]' 'fn static_foo()' - [x] doc-cfg.rs:// @!has - '//*[@id="main"]/*[@Class="stability"]/*[@Class="stab portability"]' '' - [x] inline_local/glob-private.rs:// @!has - "mod1" - [x] inline_local/glob-private.rs:// @!has - "Mod1Private" - [x] inline_local/glob-private.rs:// @!has - "mod2" - [x] inline_local/glob-private.rs:// @!has - "Mod2Private" - [x] inline_local/glob-private.rs:// @!has foo/struct.Mod1Private.html - [x] inline_local/glob-private.rs:// @!has foo/struct.Mod2Private.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/index.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/struct.Mod1Private.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/struct.Mod2Public.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/struct.Mod2Private.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/mod2/index.html - [x] inline_local/glob-private.rs:// @!has foo/mod1/mod2/struct.Mod2Private.html - [x] inline_local/glob-private.rs:// @!has-dir foo/mod2 - [x] inline_local/glob-private.rs:// @!has foo/mod2/index.html - [x] inline_local/glob-private.rs:// @!has foo/mod2/struct.Mod2Public.html - [x] inline_local/glob-private.rs:// @!has foo/mod2/struct.Mod2Private.html - [x] inline_local/hidden-use.rs:// @!has - 'private' - [x] inline_local/hidden-use.rs:// @!has - 'Foo' - [x] inline_local/hidden-use.rs:// @!has hidden_use/struct.Foo.html - [x] inline_local/glob-extern-no-defaults.rs:// @!has - "private_fn" - [x] inline_local/glob-extern-no-defaults.rs:// @!has foo/fn.private_fn.html - [x] inline_local/issue-32343.rs:// @!has issue_32343/struct.Foo.html - [x] inline_local/issue-32343.rs:// @!has - '//code/a' 'Foo' - [x] inline_local/issue-32343.rs:// @!has issue_32343/struct.Bar.html - [x] inline_local/glob-private-no-defaults.rs:// @!has - "Mod1Private" - [x] inline_local/glob-private-no-defaults.rs:// @!has - "mod2" - [x] inline_local/glob-private-no-defaults.rs:// @!has - "Mod2Private" - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/struct.Mod1Private.html - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/struct.Mod2Private.html - [x] inline_local/glob-private-no-defaults.rs:// @!has - "Mod2Public" - [x] inline_local/glob-private-no-defaults.rs:// @!has - "Mod2Private" - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/mod1/struct.Mod2Public.html - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/mod1/struct.Mod2Private.html - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/mod2/index.html - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/mod2/struct.Mod2Public.html - [x] inline_local/glob-private-no-defaults.rs:// @!has foo/mod2/struct.Mod2Private.html - [x] inline_local/glob-extern.rs:// @!has - "mod1" - [x] inline_local/glob-extern.rs:// @!has - "private_fn" - [x] inline_local/glob-extern.rs:// @!has foo/fn.private_fn.html - [x] inline_local/glob-extern.rs:// @!has foo/mod1/index.html - [x] inline_local/glob-extern.rs:// @!has foo/mod1/fn.private_fn.html - [x] inline_local/please_inline.rs: // @!has - 'pub use foo::' - [x] inline_local/please_inline.rs: // @!has please_inline/b/struct.Foo.html - [x] inline_cross/hidden-use.rs:// @!has - 'rustdoc_hidden' - [x] inline_cross/hidden-use.rs:// @!has - 'Bar' - [x] inline_cross/hidden-use.rs:// @!has hidden_use/struct.Bar.html - [x] inline_cross/inline_hidden.rs:// @!has - '//a/@title' 'Foo' - [x] inline_cross/assoc-items.rs:// @!has - 'PrivateConst' - [x] inline_cross/assoc-items.rs:// @!has - 'private_method' - [x] inline_cross/cross-glob.rs:// @!has cross_glob/index.html '//code' 'pub use inner::*;' - [x] inline_cross/macro-vis.rs:// @!has - '//pre' 'some_macro' - [x] inline_cross/macro-vis.rs:// @!has macro_vis/macro.other_macro.html - [x] inline_cross/macro-vis.rs:// @!has macro_vis/index.html '//a/@href' 'macro.other_macro.html' - [x] inline_cross/macro-vis.rs:// @!has - '//code' 'pub use qwop::other_macro;' - [x] inline_cross/macro-vis.rs:// @!has macro_vis/macro.super_macro.html - [x] inline_cross/issue-31948.rs:// @!has - '//*[@Class="impl"]//code' 'Bar for' - [x] inline_cross/issue-31948.rs:// @!has - '//*[@Class="impl"]//code' 'Qux for' - [x] inline_cross/issue-31948.rs:// @!has - '//code' 'for Wibble' - [x] inline_cross/issue-31948.rs:// @!has - '//code' 'for Wobble' - [x] inline_cross/issue-31948.rs:// @!has - '//code' 'for Wibble' - [x] inline_cross/issue-31948.rs:// @!has - '//code' 'for Wobble' - [x] inline_cross/issue-31948.rs:// @!has issue_31948/trait.Bar.html - [x] inline_cross/issue-31948.rs:// @!has issue_31948/trait.Qux.html - [x] inline_cross/issue-31948.rs:// @!has issue_31948/struct.Wibble.html - [x] inline_cross/issue-31948.rs:// @!has issue_31948/struct.Wobble.html - [x] inline_cross/issue-31948-1.rs:// @!has - '//*[@Class="impl"]//code' 'Bar for' - [x] inline_cross/issue-31948-1.rs:// @!has - '//*[@Class="impl"]//code' 'Qux for' - [x] inline_cross/issue-31948-1.rs:// @!has - '//code' 'for Wibble' - [x] inline_cross/issue-31948-1.rs:// @!has - '//code' 'for Wibble' - [x] inline_cross/issue-31948-1.rs:// @!has issue_31948_1/trait.Bar.html - [x] inline_cross/issue-31948-1.rs:// @!has issue_31948_1/trait.Qux.html - [x] inline_cross/issue-28480.rs:// @!has - '//a/@title' 'Hidden' - [x] inline_cross/issue-28480.rs:// @!has - '//a/@title' 'Hidden' - [x] inline_cross/issue-31948-2.rs:// @!has - '//*[@Class="impl"]//code' 'Bar for' - [x] inline_cross/issue-31948-2.rs:// @!has issue_31948_2/trait.Bar.html - [x] inline_cross/issue-31948-2.rs:// @!has issue_31948_2/trait.Woof.html - [x] inline_cross/issue-31948-2.rs:// @!has issue_31948_2/trait.Bark.html It doesn't look like `@!matches` is used anywhere.
Configuration menu - View commit details
-
Copy full SHA for a57ce63 - Browse repository at this point
Copy the full SHA a57ce63View commit details -
Rollup merge of rust-lang#54921 - GuillaumeGomez:line-numbers, r=Quie…
…tMisdreavus Add line numbers option to rustdoc Fixes rust-lang#22878. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 4212896 - Browse repository at this point
Copy the full SHA 4212896View commit details -
Rollup merge of rust-lang#55167 - nnethercote:is_missing_ctors_empty,…
… r=varkor Add a "cheap" mode for `compute_missing_ctors`. `compute_missing_ctors` produces a vector. It is called a lot, but the vector is almost always only checked for emptiness. This commit introduces a specialized variant of `compute_missing_ctors` (called `is_missing_ctors_empty`) that determines if the resulting set would be empty, and changes the callsite so that `compute_missing_ctors` is only called in the rare cases where it is needed. The code duplication is unfortunate but I can't see a better way to do it. This change reduces instruction counts for several benchmarks up to 2%. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for d83376c - Browse repository at this point
Copy the full SHA d83376cView commit details -
Rollup merge of rust-lang#55258 - Aaron1011:fix/rustdoc-blanket, r=Gu…
…illaumeGomez Fix Rustdoc ICE when checking blanket impls Fixes rust-lang#55001, rust-lang#54744 Previously, SelectionContext would unconditionally cache the selection result for an obligation. This worked fine for most users of SelectionContext, but it caused an issue when used by Rustdoc's blanket impl finder. The issue occured when SelectionContext chose a ParamCandidate which contained inference variables. Since inference variables can change between calls to select(), it's not safe to cache the selection result - the chosen candidate might not be applicable for future results, leading to an ICE when we try to run confirmation. This commit prevents SelectionContext from caching any ParamCandidate that contains inference variables. This should always be completely safe, as trait selection should never depend on a particular result being cached. I've also added some extra debug!() statements, which I found helpful in tracking down this bug.
Configuration menu - View commit details
-
Copy full SHA for 46f5045 - Browse repository at this point
Copy the full SHA 46f5045View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f977a - Browse repository at this point
Copy the full SHA b8f977aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e51b57 - Browse repository at this point
Copy the full SHA 9e51b57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dedf0c - Browse repository at this point
Copy the full SHA 5dedf0cView commit details -
bootstrap: clean up a few clippy findings
remove useless format!()s remove redundant field names in a few struct initializations pass slice instead of a vector to a function use is_empty() instead of comparisons to .len() No functional change intended.
Configuration menu - View commit details
-
Copy full SHA for 54edf32 - Browse repository at this point
Copy the full SHA 54edf32View commit details -
Rollup merge of rust-lang#55271 - sinkuu:traversal_iter, r=matthewjasper
Unimplement ExactSizeIterator for MIR traversing iterators If `root` is not `START_BLOCK`, `basic_blocks().len() - visited` does not represent their exact size.
Configuration menu - View commit details
-
Copy full SHA for 9111fab - Browse repository at this point
Copy the full SHA 9111fabView commit details -
Rollup merge of rust-lang#55292 - estebank:macro-eof, r=pnkfelix
Macro diagnostics tweaks Fix rust-lang#30128, fix rust-lang#10951 by adding an appropriate span to the diagnostic. Fix rust-lang#26288 by suggesting adding semicolon to macro call.
Configuration menu - View commit details
-
Copy full SHA for c6cd57d - Browse repository at this point
Copy the full SHA c6cd57dView commit details -
Rollup merge of rust-lang#55298 - estebank:macro-def, r=pnkfelix
Point at macro definition when no rules expect token Fix rust-lang#35150.
Configuration menu - View commit details
-
Copy full SHA for eb74711 - Browse repository at this point
Copy the full SHA eb74711View commit details -
Rollup merge of rust-lang#55301 - estebank:macro-allowed, r=petrochenkov
List allowed tokens after macro fragments Fix rust-lang#34069.
Configuration menu - View commit details
-
Copy full SHA for e897fe7 - Browse repository at this point
Copy the full SHA e897fe7View commit details -
Rollup merge of rust-lang#55302 - goffrie:impl-stable-hash, r=varkor
Extend the impl_stable_hash_for! macro for miri. Fixes rust-lang#54075.
Configuration menu - View commit details
-
Copy full SHA for 9880e29 - Browse repository at this point
Copy the full SHA 9880e29View commit details -
Rollup merge of rust-lang#55325 - rust-lang:steveklabnik-patch-1, r=f…
…rewsxcv Fix link to macros chapter We're gonna link to nightly as this didn't make it into the corresponding stable. r? @Mark-Simulacrum @Centril
Configuration menu - View commit details
-
Copy full SHA for 5c94daa - Browse repository at this point
Copy the full SHA 5c94daaView commit details -
Rollup merge of rust-lang#55343 - Keruspe:remap-debuginfo-release, r=…
…alexcrichton rustbuild: fix remap-debuginfo when building a release Fallback to the release number as we can't get the git commit sha as we're not in a git repository. Fixes rust-lang#55341
Configuration menu - View commit details
-
Copy full SHA for 2e1e8d2 - Browse repository at this point
Copy the full SHA 2e1e8d2View commit details -
Rollup merge of rust-lang#55346 - nnethercote:shrink-StatementKind, r…
…=nagisa Shrink `Statement`. This commit reduces the size of `Statement` from 80 bytes to 56 bytes on 64-bit platforms, by boxing the `AscribeUserType` variant of `StatementKind`. This change reduces instruction counts on most benchmarks by 1--3%.
Configuration menu - View commit details
-
Copy full SHA for 9c55a4a - Browse repository at this point
Copy the full SHA 9c55a4aView commit details -
Rollup merge of rust-lang#55358 - sinkuu:redundant_clone2, r=estebank
Remove redundant clone (2)
Configuration menu - View commit details
-
Copy full SHA for 626b496 - Browse repository at this point
Copy the full SHA 626b496View commit details -
Rollup merge of rust-lang#55370 - estebank:mailmap, r=alexcrichton
Update mailmap for estebank
Configuration menu - View commit details
-
Copy full SHA for 0b732fb - Browse repository at this point
Copy the full SHA 0b732fbView commit details -
Rollup merge of rust-lang#55375 - upstreaming:configure_cmake-comment…
…-typo-fixes, r=alexcrichton Typo fixes in configure_cmake comments Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c5e2238 - Browse repository at this point
Copy the full SHA c5e2238View commit details -
Rollup merge of rust-lang#55378 - Keruspe:bootstrap-linker, r=petroch…
…enkov rustbuild: use configured linker to build boostrap Currently, bootstrap uses it to compile everything, but x.py wasn't using it yet to build bootstrap itself. This fixes the build for systems where the linker isn't called `cc`.
Configuration menu - View commit details
-
Copy full SHA for 477f6f7 - Browse repository at this point
Copy the full SHA 477f6f7View commit details -
Rollup merge of rust-lang#55379 - RalfJung:no-empty-union, r=oli-obk
validity: assert that unions are non-empty
Configuration menu - View commit details
-
Copy full SHA for 3faffa2 - Browse repository at this point
Copy the full SHA 3faffa2View commit details -
Rollup merge of rust-lang#55264 - michaelwoerister:single-cgu-std, r=…
…simulacrum Compile the libstd we distribute with -Ccodegen-unit=1 This PR - adds the `single-codegen-unit-std` option to `config.toml` which allows for setting the CGU count for `libstd` and `libtest` independently of the one for the rest of the compiler, and - sets the new option to `true` for all dist jobs in CI. Fixes rust-lang#54872.
Configuration menu - View commit details
-
Copy full SHA for 5572f2d - Browse repository at this point
Copy the full SHA 5572f2dView commit details -
Rollup merge of rust-lang#55383 - nnethercote:coerce_unsized-SmallVec…
…, r=davidtwco Use `SmallVec` for the queue in `coerce_unsized`. This reduces the number of allocations done for the `tuple-stress` benchmark by 4%.
Configuration menu - View commit details
-
Copy full SHA for 5a16579 - Browse repository at this point
Copy the full SHA 5a16579View commit details -
Rollup merge of rust-lang#55391 - matthiaskrgr:bootstrap_cleanup, r=o…
…li-obk bootstrap: clean up a few clippy findings remove useless format!()s remove redundant field names in a few struct initializations pass slice instead of a vector to a function use is_empty() instead of comparisons to .len() No functional change intended.
Configuration menu - View commit details
-
Copy full SHA for eb29530 - Browse repository at this point
Copy the full SHA eb29530View commit details