-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 14 pull requests #74195
Rollup of 14 pull requests #74195
Commits on Jun 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 049f6ea - Browse repository at this point
Copy the full SHA 049f6eaView commit details
Commits on Jul 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f25811e - Browse repository at this point
Copy the full SHA f25811eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f07100a - Browse repository at this point
Copy the full SHA f07100aView commit details
Commits on Jul 6, 2020
-
Use relative path for local links to primitives in libcore
Else, links to `char::foo` would point into `/path/to/src/libcore/std/primitive.char.html#method.foo`. Split out from rust-lang#73804.
Configuration menu - View commit details
-
Copy full SHA for 81fbfc4 - Browse repository at this point
Copy the full SHA 81fbfc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3a0f8 - Browse repository at this point
Copy the full SHA ee3a0f8View commit details -
Hide
&mut self
methods from Deref in sidebarIf there are no `DerefMut` impl for the type.
Configuration menu - View commit details
-
Copy full SHA for e0b69f2 - Browse repository at this point
Copy the full SHA e0b69f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 368aa6f - Browse repository at this point
Copy the full SHA 368aa6fView commit details
Commits on Jul 7, 2020
-
Two new rustdoc tests for intra links
They both produce less-than-desirable output (links going to docs.rust-lang.org), but I haven't figured out yet how to assert about them properly.
Configuration menu - View commit details
-
Copy full SHA for 33a5d00 - Browse repository at this point
Copy the full SHA 33a5d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 165aecb - Browse repository at this point
Copy the full SHA 165aecbView commit details -
Assert current behavior for links
For the two of these tests that have a local `char` to link to, this behavior isn't what's expected, but is what's happening presently.
Configuration menu - View commit details
-
Copy full SHA for 865b930 - Browse repository at this point
Copy the full SHA 865b930View commit details -
Configuration menu - View commit details
-
Copy full SHA for f258d98 - Browse repository at this point
Copy the full SHA f258d98View commit details -
Revert "Add guard to check for local
core
crate"This reverts commit ee3a0f8.
Configuration menu - View commit details
-
Copy full SHA for 8d267db - Browse repository at this point
Copy the full SHA 8d267dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd07774 - Browse repository at this point
Copy the full SHA dd07774View commit details
Commits on Jul 8, 2020
-
Liballoc use vec instead of vector
Keep congruency with other parts, full word vector is rarely used.
Configuration menu - View commit details
-
Copy full SHA for 7bc85e2 - Browse repository at this point
Copy the full SHA 7bc85e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0965443 - Browse repository at this point
Copy the full SHA 0965443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9366458 - Browse repository at this point
Copy the full SHA 9366458View commit details -
Other terms are more inclusive and precise. Clippy still has a lint named "blacklisted-name", but renaming it would be a breaking change, so is left for future work. The target configuration option "abi-blacklist" has been depreciated and renamed to "unsupported-abis". The old name continues to work.
Configuration menu - View commit details
-
Copy full SHA for 1e567c1 - Browse repository at this point
Copy the full SHA 1e567c1View commit details -
Avoid running test on Windows platforms
There don't seem to be any other compiletests that are 1) building a standalone "no_core" create and then 2) trying to link against it. There seems to be a platform-specific limitation in doing so: ``` 2020-07-08T16:07:42.9419409Z = note: Creating library D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.lib and object D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.exp 2020-07-08T16:07:42.9419810Z LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 2020-07-08T16:07:42.9420032Z D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll : fatal error LNK1120: 1 unresolved externals ``` Possibly this could be resolved by adding a `__DllMainCRTStartup` or `__DllMainCRTStartup@12` symbol in an architecture- and platform-specific way.
Configuration menu - View commit details
-
Copy full SHA for 56b6b44 - Browse repository at this point
Copy the full SHA 56b6b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca22091 - Browse repository at this point
Copy the full SHA ca22091View commit details
Commits on Jul 9, 2020
-
Eliminate confusing "globals" terminology.
There are some structures that are called "globals", but are they global to a compilation session, and not truly global. I have always found this highly confusing, so this commit renames them as "session globals" and adds a comment explaining things. Also, the commit fixes an unnecessary nesting of `set()` calls `src/librustc_errors/json/tests.rs`
Configuration menu - View commit details
-
Copy full SHA for 81c5bb6 - Browse repository at this point
Copy the full SHA 81c5bb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35fae73 - Browse repository at this point
Copy the full SHA 35fae73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09f51d4 - Browse repository at this point
Copy the full SHA 09f51d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 271e2a9 - Browse repository at this point
Copy the full SHA 271e2a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d3a74 - Browse repository at this point
Copy the full SHA 08d3a74View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc6ee8f - Browse repository at this point
Copy the full SHA fc6ee8fView commit details -
Tweak
::
->:
typo heuristic and reduce verbosityDo not trigger on correct type ascription expressions with trailing operators and _do_ trigger on likely path typos where a turbofish is used. On likely path typos, remove note explaining type ascription.
Configuration menu - View commit details
-
Copy full SHA for e771a4f - Browse repository at this point
Copy the full SHA e771a4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36a229b - Browse repository at this point
Copy the full SHA 36a229bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe351e9 - Browse repository at this point
Copy the full SHA fe351e9View commit details -
Rollup merge of rust-lang#73292 - poliorcetics:fix-link-in-partialeq,…
… r=Dylan-DPC Fixing broken link for the Eq trait Fixes rust-lang#73233.
Configuration menu - View commit details
-
Copy full SHA for 5fc46fa - Browse repository at this point
Copy the full SHA 5fc46faView commit details -
Rollup merge of rust-lang#73791 - Manishearth:parens-intra-doc, r=Gui…
…llaumeGomez,jyn514 Allow for parentheses after macro intra-doc-links None
Configuration menu - View commit details
-
Copy full SHA for d163524 - Browse repository at this point
Copy the full SHA d163524View commit details -
Rollup merge of rust-lang#74070 - eddyb:forall-tcx-providers, r=nikom…
…atsakis Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. In order to work around normalization-under-HRTB (for `provide!` in `rustc_metadata`), we ended up with this: ```rust struct Providers<'tcx> { type_of: fn(TyCtxt<'tcx>, DefId) -> Ty<'tcx>, // ... } ``` But what I initially wanted to do, IIRC, was this: ```rust struct Providers { type_of: for<'tcx> fn(TyCtxt<'tcx>, DefId) -> Ty<'tcx>, // ... } ``` This PR moves to the latter, for the simple reason that only the latter allows keeping a `Providers` value, or a subset of its `fn` pointer fields, around in a `static` or `thread_local!`, which can be really useful for custom drivers that override queries. (@jyn514 and I came across a concrete usecase of that in `rustdoc`) The `provide!` macro in `rustc_metadata` is fixed by making the query key/value types available as type aliases under `ty::query::query_{keys,values}`, not just associated types (this is the first commit). r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 65ac394 - Browse repository at this point
Copy the full SHA 65ac394View commit details -
Rollup merge of rust-lang#74077 - sethp:docs/fix-intra-doc-primitive-…
…link, r=jyn514 Use relative path for local links to primitives Else, links to `char::foo` would point into `/path/to/src/libcore/std/primitive.char.html#method.foo`. Split out from rust-lang#73804.
Configuration menu - View commit details
-
Copy full SHA for 07301e3 - Browse repository at this point
Copy the full SHA 07301e3View commit details -
Rollup merge of rust-lang#74079 - nnethercote:session-globals, r=niko…
…matsakis Eliminate confusing "globals" terminology. There are some structures that are called "globals", but are they global to a compilation session, and not truly global. I have always found this highly confusing, so this commit renames them as "session globals" and adds a comment explaining things. Also, the commit fixes an unnecessary nesting of `set()` calls `src/librustc_errors/json/tests.rs` r? @Aaron1011
Configuration menu - View commit details
-
Copy full SHA for 89c9e97 - Browse repository at this point
Copy the full SHA 89c9e97View commit details -
Rollup merge of rust-lang#74107 - nbdd0121:rustdoc, r=GuillaumeGomez
Hide `&mut self` methods from Deref in sidebar if there are no `DerefMut` impl for the type. This partially addresses rust-lang#74083.
Configuration menu - View commit details
-
Copy full SHA for 38541b7 - Browse repository at this point
Copy the full SHA 38541b7View commit details -
Rollup merge of rust-lang#74136 - JohnTitor:index-page-link, r=Guilla…
…umeGomez Fix broken link in rustdocdoc The previous link redirects to https://www.rust-lang.org/learn.
Configuration menu - View commit details
-
Copy full SHA for 640569c - Browse repository at this point
Copy the full SHA 640569cView commit details -
Rollup merge of rust-lang#74137 - ehuss:update-cargo, r=ehuss
Update cargo 6 commits in fede83ccf973457de319ba6fa0e36ead454d2e20..4f74d9b2a771c58b7ef4906b2668afd075bc8081 2020-07-02 21:51:34 +0000 to 2020-07-08 17:13:00 +0000 - Disable long_file_names test if not supported on Windows. (rust-lang/cargo#8469) - Add support for deserializing enums in config files (rust-lang/cargo#8454) - Write GNU tar files, supporting long names. (rust-lang/cargo#8453) - Don't overwrite existing `rustdoc` args with --document-private-items (rust-lang/cargo#8449) - Add some help about rustup's +toolchain syntax. (rust-lang/cargo#8455) - Update metadata man page. (rust-lang/cargo#8451)
Configuration menu - View commit details
-
Copy full SHA for 178cdc5 - Browse repository at this point
Copy the full SHA 178cdc5View commit details -
Rollup merge of rust-lang#74142 - pickfire:patch-1, r=dtolnay
Liballoc use vec instead of vector Keep congruency with other parts, full word vector is rarely used.
Configuration menu - View commit details
-
Copy full SHA for 887f9e7 - Browse repository at this point
Copy the full SHA 887f9e7View commit details -
Rollup merge of rust-lang#74143 - pickfire:patch-2, r=jonas-schievink
Try remove unneeded ToString import in liballoc slice
Configuration menu - View commit details
-
Copy full SHA for 2d432ae - Browse repository at this point
Copy the full SHA 2d432aeView commit details -
Rollup merge of rust-lang#74146 - RalfJung:miri, r=RalfJung
update miri Fixes rust-lang#74132 Cc @rust-lang/miri r? @ghost
Configuration menu - View commit details
-
Copy full SHA for 089a6e1 - Browse repository at this point
Copy the full SHA 089a6e1View commit details -
Rollup merge of rust-lang#74150 - tamird:blocklist, r=nikomatsakis
Avoid "blacklist" Other terms are more inclusive and precise. Clippy still has a lint named "blacklisted-name", but renaming it would be a breaking change, so is left for future work. The target configuration option "abi-blacklist" has been depreciated and renamed to "unsupported-abis". The old name continues to work.
Configuration menu - View commit details
-
Copy full SHA for d4d1111 - Browse repository at this point
Copy the full SHA d4d1111View commit details -
Rollup merge of rust-lang#74184 - Manishearth:doc-intra-doc, r=Guilla…
…umeGomez Add docs for intra-doc-links Fixes rust-lang#66000 Hmm, for some reason my push closed the previous PR
Configuration menu - View commit details
-
Copy full SHA for 31d53de - Browse repository at this point
Copy the full SHA 31d53deView commit details -
Rollup merge of rust-lang#74188 - estebank:tweak-ascription-typo-heur…
…istic, r=petrochenkov Tweak `::` -> `:` typo heuristic and reduce verbosity Do not trigger on correct type ascription expressions with trailing operators and _do_ trigger on likely path typos where a turbofish is used. On likely path typos, remove note explaining type ascription. Clean up indentation. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 9353e21 - Browse repository at this point
Copy the full SHA 9353e21View commit details