-
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 7 pull requests #89629
Rollup of 7 pull requests #89629
Commits on Sep 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d122a08 - Browse repository at this point
Copy the full SHA d122a08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88113c5 - Browse repository at this point
Copy the full SHA 88113c5View commit details
Commits on Oct 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cb501a6 - Browse repository at this point
Copy the full SHA cb501a6View commit details
Commits on Oct 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 250d126 - Browse repository at this point
Copy the full SHA 250d126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a57a46 - Browse repository at this point
Copy the full SHA 2a57a46View commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3760c91 - Browse repository at this point
Copy the full SHA 3760c91View commit details
Commits on Oct 5, 2021
-
RustWrapper: adapt for LLVM API change of fatal_error_handler_t
No functional changes intended. The LLVM commit llvm/llvm-project@e463b69 changed an argument of fatal_error_handler_t from std::string to char*. This adapts RustWrapper accordingly.
Configuration menu - View commit details
-
Copy full SHA for 67a82e2 - Browse repository at this point
Copy the full SHA 67a82e2View commit details -
Make cfg implicitly imply doc(cfg)
This is only active when the `doc_cfg` feature is active. The implicit cfg can be overridden via #[doc(cfg(...))], so e.g. to hide a #[cfg] you can use something like: ```rust #[cfg(unix)] #[doc(cfg(all()))] pub struct Unix; ``` (since `all()` is always true, it is never shown in the docs)
Configuration menu - View commit details
-
Copy full SHA for 10cdbd8 - Browse repository at this point
Copy the full SHA 10cdbd8View commit details -
Allow adding a set of cfg's to hide from being implicitly doc(cfg)'d
By adding #![doc(cfg_hide(foobar))] to the crate attributes the cfg #[cfg(foobar)] (and _only_ that _exact_ cfg) will not be implicitly treated as a doc(cfg) to render a message in the documentation.
Configuration menu - View commit details
-
Copy full SHA for 18fdd81 - Browse repository at this point
Copy the full SHA 18fdd81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0031ce3 - Browse repository at this point
Copy the full SHA 0031ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e36a370 - Browse repository at this point
Copy the full SHA e36a370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e5f61 - Browse repository at this point
Copy the full SHA 56e5f61View commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a15879d - Browse repository at this point
Copy the full SHA a15879dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c62d5 - Browse repository at this point
Copy the full SHA b4c62d5View commit details -
* Remove "bool_to_options" feature * Update version for compiler feature * rustfmt
Configuration menu - View commit details
-
Copy full SHA for 8fac41a - Browse repository at this point
Copy the full SHA 8fac41aView commit details -
Simplify AttributesExt::cfg function and remove error emissions since…
… they are not useful
Configuration menu - View commit details
-
Copy full SHA for 09c7688 - Browse repository at this point
Copy the full SHA 09c7688View commit details
Commits on Oct 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 549a68b - Browse repository at this point
Copy the full SHA 549a68bView commit details -
Rollup merge of rust-lang#89298 - gcohara:issue89193, r=workingjubilee
Issue 89193 - Fix ICE when using `usize` and `isize` with SIMD gathers closes rust-lang#89193 r? `@workingjubilee`
Configuration menu - View commit details
-
Copy full SHA for 1584b6a - Browse repository at this point
Copy the full SHA 1584b6aView commit details -
Rollup merge of rust-lang#89461 - crlf0710:dyn_upcasting_lint, r=niko…
…matsakis Add `deref_into_dyn_supertrait` lint. Initial implementation of rust-lang#89460. Resolves rust-lang#89190. Maybe also worth a beta backport if necessary. r? `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for ab276b8 - Browse repository at this point
Copy the full SHA ab276b8View commit details -
Rollup merge of rust-lang#89477 - Nicholas-Baron:compute_diff_rs, r=M…
…ark-Simulacrum Move items related to computing diffs to a separate file Work towards rust-lang#89475.
Configuration menu - View commit details
-
Copy full SHA for 48548c9 - Browse repository at this point
Copy the full SHA 48548c9View commit details -
Rollup merge of rust-lang#89559 - krasimirgg:llvm-14-fatal_error_hand…
…ler_t, r=nagisa RustWrapper: adapt for LLVM API change No functional changes intended. The LLVM commit llvm/llvm-project@e463b69 changed an argument of fatal_error_handler_t from std::string to char*. This adapts RustWrapper accordingly.
Configuration menu - View commit details
-
Copy full SHA for 110d289 - Browse repository at this point
Copy the full SHA 110d289View commit details -
Rollup merge of rust-lang#89585 - nbdd0121:issue-89574, r=estebank
Emit item no type error even if type inference fails Fix rust-lang#89574 The stashed error should be emitted regardless whether ty references error or not.
Configuration menu - View commit details
-
Copy full SHA for de0b4f9 - Browse repository at this point
Copy the full SHA de0b4f9View commit details -
Rollup merge of rust-lang#89596 - GuillaumeGomez:implicit-doc-cfg, r=…
…jyn514 Make cfg imply doc(cfg) This is a reopening of rust-lang#79341, rebased and modified a bit (we made a lot of refactoring in rustdoc's types so they needed to be reflected in this PR as well): * `hidden_cfg` is now in the `Cache` instead of `DocContext` because `cfg` information isn't stored anymore on `clean::Attributes` type but instead computed on-demand, so we need this information in later parts of rustdoc. * I removed the `bool_to_options` feature (which makes the code a bit simpler to read for `SingleExt` trait implementation. * I updated the version for the feature. There is only one thing I couldn't figure out: [this comment](rust-lang#79341 (comment)) > I think I'll likely scrap the whole `SingleExt` extension trait as the diagnostics for 0 and >1 items should be different. How/why should they differ? EDIT: this part has been solved, the current code was fine, just needed a little simplification. cc `@Nemo157` r? `@jyn514` Original PR description: This is only active when the `doc_cfg` feature is active. The implicit cfg can be overridden via `#[doc(cfg(...))]`, so e.g. to hide a `#[cfg]` you can use something like: ```rust #[cfg(unix)] #[doc(cfg(all()))] pub struct Unix; ``` By adding `#![doc(cfg_hide(foobar))]` to the crate attributes the cfg `#[cfg(foobar)]` (and _only_ that _exact_ cfg) will not be implicitly treated as a `doc(cfg)` to render a message in the documentation.
Configuration menu - View commit details
-
Copy full SHA for e32328b - Browse repository at this point
Copy the full SHA e32328bView commit details -
Rollup merge of rust-lang#89615 - willcrichton:fix-get-body-with-borr…
…owck-facts, r=oli-obk Add InferCtxt::with_opaque_type_inference to get_body_with_borrowck_facts `mir_borrowck` uses `with_opaque_type_inference` before calling `do_mir_borrowck`: https://github.com/rust-lang/rust/blob/0eabf25b90396dead0b2a1aaa275af18a1ae6008/compiler/rustc_borrowck/src/lib.rs#L132 However `get_body_with_borrowck_facts` does not. Therefore I get an ICE eg when calling this function on the bodies of an async function as described here: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20ICE.20when.20using.20get_body_with_borrowck_facts.20with.20async This change fixes that bug. r? `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for 0fbb011 - Browse repository at this point
Copy the full SHA 0fbb011View commit details