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 #83964

Merged
merged 19 commits into from
Apr 7, 2021
Merged

Rollup of 8 pull requests #83964

merged 19 commits into from
Apr 7, 2021

Commits on Mar 25, 2021

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

Commits on Mar 29, 2021

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

Commits on Apr 3, 2021

  1. Configuration menu
    Copy the full SHA
    81f00c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    815de0e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    32be124 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee79f83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f823e5 View commit details
    Browse the repository at this point in the history
  4. Add regression test

    SkiFire13 committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    a775984 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Configuration menu
    Copy the full SHA
    b8dda53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18cf44b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4752a54 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#83476 - mystor:rc_mutate_strong_count, r=m-…

    …ou-se
    
    Add strong_count mutation methods to Rc
    
    The corresponding methods were stabilized on `Arc` in rust-lang#79285 (tracking: rust-lang#71983). This patch implements and stabilizes identical methods on the `Rc` types as well.
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    505846e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#83634 - JohnTitor:proc-macro-ice, r=varkor

    Do not emit the advanced diagnostics on macros
    
    Fixes rust-lang#83510
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    2c55bac View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#83816 - JohnTitor:unused-doc-comments-on-ma…

    …cros, r=varkor
    
    Trigger `unused_doc_comments` on macros at once
    
    Fixes rust-lang#83768
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    4d5bb1c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#83916 - Amanieu:asm_anonconst, r=petrochenkov

    Use AnonConst for asm! constants
    
    This replaces the old system which used explicit promotion. See rust-lang#83169 for more background.
    
    The syntax for `const` operands is still the same as before: `const <expr>`.
    
    Fixes rust-lang#83169
    
    Because the implementation is heavily based on inline consts, we suffer from the same issues:
    - We lose the ability to use expressions derived from generics. See the deleted tests in `src/test/ui/asm/const.rs`.
    - We are hitting the same ICEs as inline consts, for example rust-lang#78174. It is unlikely that we will be able to stabilize this before inline consts are stabilized.
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    b81c6cd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#83935 - SNCPlay42:param-default-impl-trait,…

    … r=varkor
    
    forbid `impl Trait` in generic param defaults
    
    Fixes rust-lang#83929
    
    Forbid using `impl Trait` in the default types of generic parameters, e.g. `struct Foo<T = impl Trait>`. I assume this was never supposed to be allowed - it seems no UI test used it.
    
    Note that using `impl Trait` in this position did not hit a feature gate error; however, this *shouldn't* be a breaking change as any attempt to use it should have hit the ICE in rust-lang#83929 and/or failed to provide a defining use of the `impl Trait`.
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    d554385 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#83936 - crlf0710:disallow_extern_block_non_…

    …ascii, r=Manishearth
    
    Disable using non-ascii identifiers in extern blocks.
    
    Fixes rust-lang#83923.
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    9c688cd View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#83945 - SkiFire13:fix-83924, r=estebank

    Add suggestion to reborrow mutable references when they're moved in a for loop
    
    Address rust-lang#83924
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    d7d42cc View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#83954 - estebank:issue-83613, r=varkor

    Do not ICE when closure is involved in Trait Alias Impl Trait
    
    Fix rust-lang#83613.
    Dylan-DPC committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    d82419b View commit details
    Browse the repository at this point in the history