-
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 14 pull requests #74117
Rollup of 14 pull requests #74117
Commits on Jun 29, 2020
-
typeck: adding type information to projection
This commit modifies the Place as follow: * remove 'ty' from ProjectionKind * add type information into to Projection * replace 'ty' in Place with 'base_ty' * introduce 'ty()' in `Place` to return the final type of the `Place` * introduce `ty_before_projection()` in `Place` to return the type of a `Place` before i'th projection is applied Closes rust-lang/project-rfc-2229#5
Configuration menu - View commit details
-
Copy full SHA for 7d7221c - Browse repository at this point
Copy the full SHA 7d7221cView commit details
Commits on Jul 2, 2020
-
libstd/net/tcp.rs: #![deny(unsafe_op_in_unsafe_fn)]
Enclose unsafe operations in unsafe blocks
Configuration menu - View commit details
-
Copy full SHA for 8dc1e42 - Browse repository at this point
Copy the full SHA 8dc1e42View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec31b4e - Browse repository at this point
Copy the full SHA ec31b4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84282fd - Browse repository at this point
Copy the full SHA 84282fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5141e6 - Browse repository at this point
Copy the full SHA d5141e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fcb7da - Browse repository at this point
Copy the full SHA 0fcb7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc61cca - Browse repository at this point
Copy the full SHA fc61ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdabdfa - Browse repository at this point
Copy the full SHA cdabdfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2453946 - Browse repository at this point
Copy the full SHA 2453946View commit details -
Configuration menu - View commit details
-
Copy full SHA for af29620 - Browse repository at this point
Copy the full SHA af29620View commit details -
Configuration menu - View commit details
-
Copy full SHA for e955beb - Browse repository at this point
Copy the full SHA e955bebView commit details -
mir: mark mir construction temporaries as internal
This commit marks temporaries from MIR construction as internal such that they are skipped in `sanitize_witness` (where each MIR local is checked to have been contained within the generator interior computed during typeck). This resolves an ICE whereby the construction of checked addition introduced a `(u64, bool)` temporary which was not in the HIR and thus not in the generator interior. Signed-off-by: David Wood <david@davidtw.co>
Configuration menu - View commit details
-
Copy full SHA for 1b747a0 - Browse repository at this point
Copy the full SHA 1b747a0View commit details -
Move A|Rc::as_ptr from feature(weak_into_raw)
to feature(rc_as_ptr) These were stabilized alongside the Weak versions, but having `feature = "weak_.."` on a fn definition for the non-weak pointers is potentially very confusing.
Configuration menu - View commit details
-
Copy full SHA for 7391bf8 - Browse repository at this point
Copy the full SHA 7391bf8View commit details
Commits on Jul 4, 2020
-
we used to erase the local just before we tried to read it for diagnostics
Configuration menu - View commit details
-
Copy full SHA for ee8dd4e - Browse repository at this point
Copy the full SHA ee8dd4eView commit details
Commits on Jul 5, 2020
-
rustdoc: Restore underline text decoration on hover for FQN in header
This causes the components of FQN's to behave similarly to other links in the contents of rustdoc-styled pages. I (and I hope others at least in part) have found the prior design to be somewhat confusing, as it is not clear (upon hovering) that the various parts of the FQN are actually links that the user can navigate to. In short, this patch makes links in the FQN have an underline when the user hovers over them, more clearly indicating that they can be used for navigation. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f31426 - Browse repository at this point
Copy the full SHA 2f31426View commit details -
Remove unused RUSTC_DEBUG_ASSERTIONS
Since rust-lang#73374 the rustc wrapper no longer configures debug assertions based on RUSTC_DEBUG_ASSERTIONS environment variable.
Configuration menu - View commit details
-
Copy full SHA for 5fa19ad - Browse repository at this point
Copy the full SHA 5fa19adView commit details -
Fix the return type of Windows'
OpenOptionsExt::security_qos_flags
.This adjusts the return type of Windows' `OpenOptionsExt::security_qos_flags` to be consistent with the other functions in the trait.
Configuration menu - View commit details
-
Copy full SHA for 6196eaa - Browse repository at this point
Copy the full SHA 6196eaaView commit details
Commits on Jul 6, 2020
-
Always resolve type@primitive as a primitive, not a module
Previously, if there were a module in scope with the same name as the primitive, that would take precedence. Coupled with rust-lang#58699, this made it impossible to link to the primitive when that module was in scope. This approach could be extended so that `struct@foo` would no longer resolve to any type, etc. However, it could not be used for glob imports: ```rust pub mod foo { pub struct Bar; } pub enum Bar {} use foo::*; // This is expected to link to `inner::Bar`, but instead it will link to the enum. /// Link to [struct@Bar] pub struct MyDocs; ``` The reason for this is that this change does not affect the resolution algorithm of rustc_resolve at all. The only reason we could special-case primitives is because we have a list of all possible primitives ahead of time.
Configuration menu - View commit details
-
Copy full SHA for e46c187 - Browse repository at this point
Copy the full SHA e46c187View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdd39a3 - Browse repository at this point
Copy the full SHA fdd39a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7610ab3 - Browse repository at this point
Copy the full SHA 7610ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36e50a0 - Browse repository at this point
Copy the full SHA 36e50a0View commit details
Commits on Jul 7, 2020
-
Rollup merge of rust-lang#70563 - GuillaumeGomez:page-hash-handling, …
…r=ollie27,kinnison [rustdoc] Page hash handling Fixes rust-lang#70476 A good example to see the change is to use this URL: https://doc.rust-lang.org/nightly/std/string/struct.String.html#from_iter.v-3 After the change, it actually goes to the target element (and change the page hash to something more clear for the users). r? @kinnison cc @ollie27
Configuration menu - View commit details
-
Copy full SHA for 218d96e - Browse repository at this point
Copy the full SHA 218d96eView commit details -
Rollup merge of rust-lang#73856 - pierwill:pierwill-lexer-doc, r=jona…
…s-schievink Edit librustc_lexer top-level docs Minor edit, and adds link to librustc_parse::lexer.
Configuration menu - View commit details
-
Copy full SHA for 3f90287 - Browse repository at this point
Copy the full SHA 3f90287View commit details -
Rollup merge of rust-lang#73870 - sexxi-goose:projection-ty, r=nikoma…
…tsakis typeck: adding type information to projection This commit modifies the Place as follow: * remove 'ty' from ProjectionKind * add type information into to Projection * replace 'ty' in Place with 'base_ty' * introduce 'ty()' in `Place` to return the final type of the `Place` * introduce `ty_before_projection()` in `Place` to return the type of a `Place` before i'th projection is applied Closes rust-lang/project-rfc-2229#5
Configuration menu - View commit details
-
Copy full SHA for 7942d9a - Browse repository at this point
Copy the full SHA 7942d9aView commit details -
Rollup merge of rust-lang#73953 - JohnTitor:audit-hidden-sugg, r=este…
…bank Audit hidden/short code suggestions Should fix rust-lang#73641. Audit uses of `span_suggestion_short` and `tool_only_span_suggestion` (`span_suggestion_hidden` is already tested with `run-rustfix`). Leave some FIXMEs for futher improvements/fixes. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for e74ab50 - Browse repository at this point
Copy the full SHA e74ab50View commit details -
Rollup merge of rust-lang#73962 - ryr3:unsafe_tcp, r=LukasKalbertodt
libstd/net/tcp.rs: #![deny(unsafe_op_in_unsafe_fn)] Enclose unsafe operations in unsafe blocks for net/tcp.rs. Fixes part of rust-lang#73904.
Configuration menu - View commit details
-
Copy full SHA for ca5b64d - Browse repository at this point
Copy the full SHA ca5b64dView commit details -
Rollup merge of rust-lang#73969 - davidtwco:issue-73914-checkedadd-te…
…mp-generator-interior, r=matthewjasper mir: mark mir construction temporaries as internal Fixes rust-lang#73914. This PR marks temporaries from MIR construction as internal such that they are skipped in `sanitize_witness` (where each MIR local is checked to have been contained within the generator interior computed during typeck). This resolves an ICE whereby the construction of checked addition introduced a `(u64, bool)` temporary which was not in the HIR and thus not in the generator interior. r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 62ba1bf - Browse repository at this point
Copy the full SHA 62ba1bfView commit details -
Rollup merge of rust-lang#73974 - CAD97:rc-no-weak, r=dtolnay
Move A|Rc::as_ptr from feature(weak_into_raw) to feature(rc_as_ptr) These were stabilized alongside the Weak versions, but having `feature = "weak_.."` on a fn definition for the non-weak pointers is potentially very misleading, especially in a review context where the impl header may not be immediately visible. r? @RalfJung @bors rollup=always
Configuration menu - View commit details
-
Copy full SHA for 7d7b3e6 - Browse repository at this point
Copy the full SHA 7d7b3e6View commit details -
Rollup merge of rust-lang#74067 - rye:rustdoc-fqn-hover-underline, r=…
…GuillaumeGomez rustdoc: Restore underline text decoration on hover for FQN in header This causes the components of FQN's (e.g. `std`, `net`, and `Ipv4Addr` of the FQN `std::net::Ipv4Addr`) to behave similarly to other links in the contents of rustdoc-styled pages. When the user hovers over them, more clearly indicating that they can be used for navigation. I (and I hope others at least in part) have found the prior design to be somewhat confusing, as it is not clear (upon hovering) that the various parts of the FQN are actually links that the user can navigate to. <details><summary>📸 Before, mouse hovered over "net" in the FQN</summary> <img alt="A rustdoc page with the mouse hovered over the fully-qualified name in the page header, producing no visual change" src="https://user-images.githubusercontent.com/1566689/86538363-4c827000-bebb-11ea-8291-5ea6b85d7e19.png" /> </details> <details><summary>📸 After, mouse hovered over "net" in the FQN</summary> <img alt="A rustdoc page with the mouse hovered over the fully-qualified name in the page header, now with an underline showing up under the word hovered over by the mouse" src="https://user-images.githubusercontent.com/1566689/86538471-d3374d00-bebb-11ea-9bb3-7aa2d7a4800b.png" /> </details>
Configuration menu - View commit details
-
Copy full SHA for 3199aeb - Browse repository at this point
Copy the full SHA 3199aebView commit details -
Rollup merge of rust-lang#74074 - sunfishcode:windows-openoptionsext-…
…return-type, r=LukasKalbertodt Fix the return type of Windows' `OpenOptionsExt::security_qos_flags`. This adjusts the return type of Windows' `OpenOptionsExt::security_qos_flags` to be consistent with the other functions in the trait.
Configuration menu - View commit details
-
Copy full SHA for 86f8c53 - Browse repository at this point
Copy the full SHA 86f8c53View commit details -
Rollup merge of rust-lang#74078 - jyn514:lut, r=Manishearth
Always resolve type@primitive as a primitive, not a module Previously, if there were a module in scope with the same name as the primitive, that would take precedence. Coupled with rust-lang#58699, this made it impossible to link to the primitive when that module was in scope. This approach could be extended so that `struct@foo` would no longer resolve to any type, etc. However, it could not be used for glob imports: ```rust pub mod foo { pub struct Bar; } pub enum Bar {} use foo::*; // This is expected to link to `inner::Bar`, but instead it will link to the enum. /// Link to [struct@Bar] pub struct MyDocs; ``` The reason for this is that this change does not affect the resolution algorithm of rustc_resolve at all. The only reason we could special-case primitives is because we have a list of all possible primitives ahead of time. Closes rust-lang#74063 r? @Manishearth
Configuration menu - View commit details
-
Copy full SHA for ecc6f56 - Browse repository at this point
Copy the full SHA ecc6f56View commit details -
Rollup merge of rust-lang#74089 - matklad:ship-rust-analyzer-some-mor…
…e, r=pietroalbini Add rust-analyzer to the build manifest Does not die locally, produces `rust-analyzer-0.1.0-dev-x86_64-unknown-linux-gnu.tar.gz.sha256` and add something about rust-analyzer to some `.toml` file. Seems like a success?
Configuration menu - View commit details
-
Copy full SHA for caa858b - Browse repository at this point
Copy the full SHA caa858bView commit details -
Rollup merge of rust-lang#74090 - tmiasko:rustc-debug-assertions, r=R…
…alfJung Remove unused RUSTC_DEBUG_ASSERTIONS Since rust-lang#73374 the rustc wrapper no longer configures debug assertions based on RUSTC_DEBUG_ASSERTIONS environment variable. r? @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 50e22bd - Browse repository at this point
Copy the full SHA 50e22bdView commit details -
Rollup merge of rust-lang#74102 - oli-obk:const_prop_icde, r=wesleywiser
Fix const prop ICE we used to erase the local just before we tried to read it for diagnostics fixes rust-lang#73993 r? @wesleywiser
Configuration menu - View commit details
-
Copy full SHA for 38f5151 - Browse repository at this point
Copy the full SHA 38f5151View commit details -
Rollup merge of rust-lang#74112 - pierwill:patch-2, r=sfackler
Expand abbreviation in core::ffi description
Configuration menu - View commit details
-
Copy full SHA for 73f2069 - Browse repository at this point
Copy the full SHA 73f2069View commit details