-
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 5 pull requests #98925
Rollup of 5 pull requests #98925
Commits on Jun 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b96d1e4 - Browse repository at this point
Copy the full SHA b96d1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb7cd97 - Browse repository at this point
Copy the full SHA cb7cd97View commit details
Commits on Jun 30, 2022
-
middle: translation in
LintDiagnosticBuilder
Accept `DiagnosticMessage` in `LintDiagnosticBuilder::build` so that lints can be built with translatable diagnostic messages. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d2eba6 - Browse repository at this point
Copy the full SHA 7d2eba6View commit details -
lint: port array-into-iter diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f4c4c5 - Browse repository at this point
Copy the full SHA 0f4c4c5View commit details -
lint: port enum intrinsics diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a69640 - Browse repository at this point
Copy the full SHA 2a69640View commit details -
lint: port expectation diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0624eb - Browse repository at this point
Copy the full SHA a0624ebView commit details -
lint: port hidden unicode codepoints diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd57269 - Browse repository at this point
Copy the full SHA fd57269View commit details -
lint: port default hash types diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e88916c - Browse repository at this point
Copy the full SHA e88916cView commit details -
lint: port query instability diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8139542 - Browse repository at this point
Copy the full SHA 8139542View commit details -
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0996a7a - Browse repository at this point
Copy the full SHA 0996a7aView commit details -
lint: port impl
LintPass
by hand diagnosticsSigned-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c3a3e0 - Browse repository at this point
Copy the full SHA 1c3a3e0View commit details -
lint: port non-existant doc keyword diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 674ac60 - Browse repository at this point
Copy the full SHA 674ac60View commit details -
lint: port translation migration diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f35c79 - Browse repository at this point
Copy the full SHA 4f35c79View commit details -
lint: port
CString
ptr diagnosticsSigned-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c29e05e - Browse repository at this point
Copy the full SHA c29e05eView commit details -
lint: port non-ascii-idents diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48e4bf1 - Browse repository at this point
Copy the full SHA 48e4bf1View commit details -
lint: port non-fmt-panic diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ee4aa7 - Browse repository at this point
Copy the full SHA 7ee4aa7View commit details -
lint: port non-standard style diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 096a69d - Browse repository at this point
Copy the full SHA 096a69dView commit details -
lint: port no-op method call diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 855f237 - Browse repository at this point
Copy the full SHA 855f237View commit details -
lint: port pass-by-value diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37588d6 - Browse repository at this point
Copy the full SHA 37588d6View commit details -
lint: port redundant semicolons diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e83656 - Browse repository at this point
Copy the full SHA 8e83656View commit details -
lint: port drop trait/glue diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ef610c - Browse repository at this point
Copy the full SHA 7ef610cView commit details -
lint: port overflowing literals diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a9bef4 - Browse repository at this point
Copy the full SHA 7a9bef4View commit details -
lint: port improper ctypes diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5f2e0e - Browse repository at this point
Copy the full SHA e5f2e0eView commit details -
lint: port variant size difference diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14c3016 - Browse repository at this point
Copy the full SHA 14c3016View commit details -
lint: port atomic ordering diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0602729 - Browse repository at this point
Copy the full SHA 0602729View commit details -
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1999a4c - Browse repository at this point
Copy the full SHA 1999a4cView commit details -
lint: port path statement diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2829f51 - Browse repository at this point
Copy the full SHA 2829f51View commit details -
lint: port unused delimiter diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc4f8d9 - Browse repository at this point
Copy the full SHA fc4f8d9View commit details -
lint: port unused import braces diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e248338 - Browse repository at this point
Copy the full SHA e248338View commit details -
lint: port unused allocation diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f7b10f - Browse repository at this point
Copy the full SHA 4f7b10fView commit details -
lint: port while true diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 588977b - Browse repository at this point
Copy the full SHA 588977bView commit details -
lint: port box pointers diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d433c9a - Browse repository at this point
Copy the full SHA d433c9aView commit details -
lint: port non-shorthand pattern diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c63a21 - Browse repository at this point
Copy the full SHA 4c63a21View commit details -
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dffd14 - Browse repository at this point
Copy the full SHA 7dffd14View commit details -
lint: port missing documentation diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82bd2c2 - Browse repository at this point
Copy the full SHA 82bd2c2View commit details -
lint: port missing copy impl diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28655bc - Browse repository at this point
Copy the full SHA 28655bcView commit details -
lint: port missing debug impl diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 284ec37 - Browse repository at this point
Copy the full SHA 284ec37View commit details -
lint: port anonymous parameter diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18a48c1 - Browse repository at this point
Copy the full SHA 18a48c1View commit details -
lint: port deprecated attr diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e151d66 - Browse repository at this point
Copy the full SHA e151d66View commit details -
lint: port unused doc comment diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a13b70e - Browse repository at this point
Copy the full SHA a13b70eView commit details -
lint: port no-mangle diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbdbdb6 - Browse repository at this point
Copy the full SHA dbdbdb6View commit details -
lint: port mutable transmutes diagnostic
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d071f50 - Browse repository at this point
Copy the full SHA d071f50View commit details -
lint: port unstable feature diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23ee3e0 - Browse repository at this point
Copy the full SHA 23ee3e0View commit details -
lint: port unreachable
pub
diagnosticSigned-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbced10 - Browse repository at this point
Copy the full SHA dbced10View commit details -
lint: port type alias bounds diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01a64af - Browse repository at this point
Copy the full SHA 01a64afView commit details -
lint: port trivial bounds diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c9bda5 - Browse repository at this point
Copy the full SHA 3c9bda5View commit details -
lint: port
...
range pattern diagnosticsSigned-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a498a7 - Browse repository at this point
Copy the full SHA 3a498a7View commit details -
lint: port test items diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10f2d3f - Browse repository at this point
Copy the full SHA 10f2d3fView commit details -
lint: port keyword idents diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1067641 - Browse repository at this point
Copy the full SHA 1067641View commit details -
lint: port explicit outlives diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acea23e - Browse repository at this point
Copy the full SHA acea23eView commit details -
lint: port incomplete features diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd8fe82 - Browse repository at this point
Copy the full SHA bd8fe82View commit details -
lint: add todo for invalid value diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 157cbbc - Browse repository at this point
Copy the full SHA 157cbbcView commit details -
lint: port clashing extern diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e563a4 - Browse repository at this point
Copy the full SHA 2e563a4View commit details -
lint: port deref nullptr diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5524ca1 - Browse repository at this point
Copy the full SHA 5524ca1View commit details -
lint: port asm labels diagnostics
Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fedd4c6 - Browse repository at this point
Copy the full SHA fedd4c6View commit details -
tests: avoid inadvertent diffs in diag derive test
In the diagnostic derive test, a "the following other types implement trait" diagnostic is output which lists rustc types that implement `IntoDiagnosticArg`. As the output of this test can change due to new internal compiler types like implementing `IntoDiagnosticArg`, it can start failing without indicating a problem to be fixed - so normalize that output away. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ff6c77 - Browse repository at this point
Copy the full SHA 9ff6c77View commit details
Commits on Jul 1, 2022
-
Improve click behavior of the source code mobile full-screen "sidebar"
On desktop, if you open the source code sidebar, it stays open even when you move from page to page. It used to do the same thing on mobile, but I think that's stupid. Since the file list fills the entire screen on mobile, and you can't really do anything with the currently selected file other than dismiss the "sidebar" to look at it, it's safe to assume that anybody who clicks a file in that list probably wants the list to go away so they can see it.
Configuration menu - View commit details
-
Copy full SHA for 83f2288 - Browse repository at this point
Copy the full SHA 83f2288View commit details
Commits on Jul 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6e2c49f - Browse repository at this point
Copy the full SHA 6e2c49fView commit details
Commits on Jul 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ce9e834 - Browse repository at this point
Copy the full SHA ce9e834View commit details
Commits on Jul 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 170b173 - Browse repository at this point
Copy the full SHA 170b173View commit details -
Rollup merge of rust-lang#97712 - RalfJung:untyped, r=scottmcm
ptr::copy and ptr::swap are doing untyped copies The consensus in rust-lang#63159 seemed to be that these operations should be "untyped", i.e., they should treat the data as raw bytes, should work when these bytes violate the validity invariant of `T`, and should exactly preserve the initialization state of the bytes that are being copied. This is already somewhat implied by the description of "copying/swapping size*N bytes" (rather than "N instances of `T`"). The implementations mostly already work that way (well, for LLVM's intrinsics the documentation is not precise enough to say what exactly happens to poison, but if this ever gets clarified to something that would *not* perfectly preserve poison, then I strongly assume there will be some way to make a copy that *does* perfectly preserve poison). However, I had to adjust `swap_nonoverlapping`; after ``@scottmcm's`` [recent changes](rust-lang#94212), that one (sometimes) made a typed copy. (Note that `mem::swap`, which works on mutable references, is unchanged. It is documented as "swapping the values at two mutable locations", which to me strongly indicates that it is indeed typed. It is also safe and can rely on `&mut T` pointing to a valid `T` as part of its safety invariant.) On top of adding a test (that will be run by Miri), this PR then also adjusts the documentation to indeed stably promise the untyped semantics. I assume this means the PR has to go through t-libs (and maybe t-lang?) FCP. Fixes rust-lang#63159
Configuration menu - View commit details
-
Copy full SHA for 8fa1ed8 - Browse repository at this point
Copy the full SHA 8fa1ed8View commit details -
Rollup merge of rust-lang#98624 - davidtwco:translation-on-lints, r=c…
…ompiler-errors lints: mostly translatable diagnostics As lints are created slightly differently than other diagnostics, intended to try make them translatable first and then look into the applicability of diagnostic structs but ended up just making most of the diagnostics in the crate translatable (which will still be useful if I do make a lot of them structs later anyway). r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 291df97 - Browse repository at this point
Copy the full SHA 291df97View commit details -
Rollup merge of rust-lang#98776 - notriddle:notriddle/mobile-sidebar-…
…auto-close, r=GuillaumeGomez rustdoc: improve click behavior of the source code mobile full-screen "sidebar" On desktop, if you open the source code sidebar, it stays open even when you move from page to page. It used to do the same thing on mobile, but I think that's stupid. Since the file list fills the entire screen on mobile, and you can't really do anything with the currently selected file other than dismiss the "sidebar" to look at it, it's safe to assume that anybody who clicks a file in that list probably wants the list to go away so they can see it. Split out separately from rust-lang#98772
Configuration menu - View commit details
-
Copy full SHA for c2613a5 - Browse repository at this point
Copy the full SHA c2613a5View commit details -
Rollup merge of rust-lang#98856 - GuillaumeGomez:rustdoc-test-rm-fixm…
…e, r=Dylan-DPC Remove FIXME from rustdoc intra-doc test Removed the FIXME. For the `extern crate`, even if `pub` exported, its documentation wasn't rendered so there is no point in keeping it. r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 6a61e18 - Browse repository at this point
Copy the full SHA 6a61e18View commit details -
Rollup merge of rust-lang#98913 - lnicola:rust-analyzer-2022-07-05, r…
…=lnicola ⬆️ rust-analyzer r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for 1036a38 - Browse repository at this point
Copy the full SHA 1036a38View commit details