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 10 pull requests #80178

Closed
wants to merge 23 commits into from

Commits on Oct 18, 2020

  1. Stabilize or_insert_with_key

    ChaiTRex committed Oct 18, 2020
    Configuration menu
    Copy the full SHA
    c2de8fe View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2020

  1. passes: prohibit attrs on generic params

    This commit modifies the `check_attr` pass so that attribute placement
    on generic parameters is checked for validity.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Nov 29, 2020
    Configuration menu
    Copy the full SHA
    75eb72c View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

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

Commits on Dec 8, 2020

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

Commits on Dec 16, 2020

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

Commits on Dec 17, 2020

  1. docs: Edit rustc_ast::token::Token

    Add missing punctuation.
    pierwill committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    30c9307 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dea1363 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Fix typo

    hkmatsumoto committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    56530a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48d5874 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd4ae3a View commit details
    Browse the repository at this point in the history
  4. Switch compiler/ to intra-doc links

    rustc_lint and rustc_lint_defs weren't switched because they're included
    in the compiler book and so can't use intra-doc links.
    jyn514 committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    35f16c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    328fcee View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Rollup merge of rust-lang#78083 - ChaiTRex:master, r=m-ou-se

    Stabilize or_insert_with_key
    
    Stabilizes the `or_insert_with_key` feature from rust-lang#71024. This allows inserting key-derived values when a `HashMap`/`BTreeMap` entry is vacant.
    
    The difference between this and  `.or_insert_with(|| ... )` is that this provides a reference to the key to the closure after it is moved with `.entry(key_being_moved)`, avoiding the need to copy or clone the key.
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    ce90308 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#79073 - davidtwco:issue-78957-const-param-a…

    …ttrs, r=lcnr
    
    passes: prohibit invalid attrs on generic params
    
    Fixes rust-lang#78957.
    
    This PR modifies the `check_attr` pass so that attribute placement on generic parameters is checked for validity.
    
    r? `@lcnr`
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    caaa6db View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#79211 - yoshuawuyts:future-doc-alias, r=Mar…

    …k-Simulacrum
    
    Add the "async" and "promise" doc aliases to `core::future::Future`
    
    Adds the "async" and "promise" doc aliases to `core::future::Future`. This enables people who search for "async" or "promise" to find `Future`, which is Rust's core primitive for async programming. Thanks!
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    5f5b3bc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#79612 - jyn514:compiler-links, r=Aaron1011

    Switch some links in compiler/ to intra-doc links
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    415a974 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#80068 - jyn514:mut-reference, r=m-ou-se

    Add `&mut` as an alias for 'reference' primitive
    
    Closes rust-lang#46075.
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    5ba1b8f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#80100 - mark-i-m:pattORns-2, r=petrochenkov

    or_patterns: implement :pat edition-specific behavior
    
    cc rust-lang#54883 `@joshtriplett`
    
    This PR implements the edition-specific behavior of `:pat` wrt or-patterns, as determined by the crater runs and T-lang consensus in rust-lang#54883 (comment).
    
    I believe this can unblock stabilization of or_patterns.
    
    r? `@petrochenkov`
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    825658b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#80129 - pierwill:patch-6, r=estebank

    docs: Edit rustc_ast::token::Token
    
    Add missing punctuation.
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    79ff5d7 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#80133 - Aaron1011:fix/const-mut-deref, r=es…

    …tebank
    
    Suppress `CONST_ITEM_MUTATION` lint if a dereference occurs anywhere
    
    Fixes rust-lang#79971
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    66042fc View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#80155 - matsujika:matsujika-patch-1, r=jona…

    …s-schievink
    
    Fix typo
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    93a0f0a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#80163 - jackh726:binder-refactor-part-3, r=…

    …lcnr
    
    Make BoundRegion have a kind of BoungRegionKind
    
    Split from rust-lang#76814
    
    Also includes making `replace_escaping_bound_vars` only return `T`
    
    Going to r? `@lcnr`
    Feel free to reassign
    Dylan-DPC committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    8890048 View commit details
    Browse the repository at this point in the history