Skip to content
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 8 pull requests #103629

Merged
merged 23 commits into from
Oct 28, 2022
Merged

Rollup of 8 pull requests #103629

merged 23 commits into from
Oct 28, 2022

Commits on Oct 16, 2022

  1. remove redundant Send impls for references

    also move them next to the trait they are implementing
    RalfJung committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    73d655e View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Configuration menu
    Copy the full SHA
    1610447 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. Configuration menu
    Copy the full SHA
    def755e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. fix typos

    Co-authored-by: Ralf Jung <post@ralfj.de>
    Pointerbender and RalfJung authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    5673536 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. Configuration menu
    Copy the full SHA
    f9cace0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14caf73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    196a429 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f3bd222 View commit details
    Browse the repository at this point in the history
  5. rustc_metadata: Add constructors to module children at encoding time

    instead of decoding time.
    petrochenkov committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    2283a5e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ed14202 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Configuration menu
    Copy the full SHA
    de5517c View commit details
    Browse the repository at this point in the history
  2. Add documentation

    Noratrieb committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    796114a View commit details
    Browse the repository at this point in the history
  3. Fix typo

    Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
    Noratrieb and estebank authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    da407ed View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. rustdoc: remove CSS workaround for Firefox 29

    CSS variables, which rustdoc now relies on, are only supported in Firefox 31 and later: https://www.mozilla.org/en-US/firefox/31.0/releasenotes/
    
    This means it’s fine to also rely on unprefixed box-sizing, which is supported in Firefox 29 and later: https://www.mozilla.org/en-US/firefox/29.0/releasenotes/
    notriddle authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    4d4b567 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    166d8b8 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#103110 - RalfJung:manual-send, r=thomcc

    remove redundant Send impl for references
    
    Also explain why the other instance is not redundant, move it next to the trait they are implementing, and out of the redundant module. This seems to go back all the way to rust-lang@35ca50b, not sure why the module was added.
    
    The instance for `&mut` is the default instance we get anyway, and we don't have anything similar for `Sync`, so IMO we should be consistent and not have the redundant instance here, either.
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    6d43dfb View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#103255 - oli-obk:opaque_wrong_eq_relation, …

    …r=compiler-errors
    
    Clean up hidden type registration
    
    work on rust-lang#101186
    
    Actually passing down the relation and using it instead of `eq` for the hidden type comparison has *no* effect whatsoever and allows for no further improvements at the call sites. I decided the increased complexity was not worth it and thus did not include that change in this PR.
    
    r? `@compiler-errors`
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    16e74c7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#103394 - Pointerbender:unsafecell-docs, r=A…

    …manieu
    
    Clarify documentation about the memory layout of `UnsafeCell`
    
    This PR addresses a [comment](rust-lang#101717 (comment)) by `@RalfJung` in PR rust-lang#101717 to further clarify the documentation of `UnsafeCell<T>`. The previous PR was merged already before we had a chance to correct this, hence this second PR :)
    
    To goal of this PR is:
    
    1. Split the paragraph about the memory layout of `UnsafeCell<T>` and the usage of `UnsafeCell::(raw_)get()` into two paragraphs, so that it is easier to digest for the reader.
    2. Slightly simplify the previously added examples in order to reduce redundancy between the new examples and the examples that already [existed](https://github.com/rust-lang/rust/blob/ddd119b2fed57eb6b19c44c18108de95c564a48d/library/core/src/cell.rs#L1858-L1908) before these 2 PRs (which remained untouched by both PRs).
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    c75e6f5 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#103408 - compiler-errors:rpitit-rustdoc, r=…

    …GuillaumeGomez
    
    Clean return-position `impl Trait` in traits correctly in rustdoc
    
    Fixes rust-lang#103403
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    571771e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#103505 - notriddle:notriddle/rustdoc-self-c…

    …losing-tags, r=GuillaumeGomez
    
    rustdoc: parse self-closing tags and attributes in `invalid_html_tags`
    
    Fixes rust-lang#103460
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    5623024 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#103524 - petrochenkov:modchild4, r=cjgillot

    rustc_metadata: Add struct and variant constructors to module children at encoding time
    
    instead of decoding time.
    
    Continuation of rust-lang#95899.
    The last time it caused some ICEs from generator use, but not everything seems ok.
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    4a01cab View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#103544 - Nilstrieb:no-recovery-pls, r=compi…

    …ler-errors
    
    Add flag to forbid recovery in the parser
    
    To start the effort of fixing rust-lang#103534, this adds a new flag to the parser, which forbids the parser from doing recovery, which it shouldn't do in macros.
    
    This doesn't add any new checks for recoveries yet and is just here to bikeshed the names for the functions here before doing more.
    
    r? `@compiler-errors`
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    f9dfb6e View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#103616 - rust-lang:notriddle/moz-box-sizing…

    …, r=GuillaumeGomez
    
    rustdoc: remove CSS workaround for Firefox 29
    
    CSS variables, which rustdoc now relies on, are only supported in Firefox 31 and later: https://www.mozilla.org/en-US/firefox/31.0/releasenotes/
    
    This means it’s fine to also rely on unprefixed box-sizing, which is supported in Firefox 29 and later: https://www.mozilla.org/en-US/firefox/29.0/releasenotes/
    matthiaskrgr authored Oct 27, 2022
    Configuration menu
    Copy the full SHA
    ae4dc12 View commit details
    Browse the repository at this point in the history