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

Closed
wants to merge 29 commits into from
Closed

Commits on Mar 1, 2020

  1. Configuration menu
    Copy the full SHA
    515446c View commit details
    Browse the repository at this point in the history
  2. Apply rustfmt :(

    kornelski committed Mar 1, 2020
    Configuration menu
    Copy the full SHA
    96b3261 View commit details
    Browse the repository at this point in the history
  3. delay_span_bug when codegen cannot select obligation

    Fix rust-lang#69602, introduced in rust-lang#60126 by letting the compiler continue past
    type checking after encountering errors.
    estebank committed Mar 1, 2020
    Configuration menu
    Copy the full SHA
    7b6f5ed View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    98c7ed6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3aeb9f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    c745b4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6db7e34 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0c3cf2 View commit details
    Browse the repository at this point in the history
  4. Update books

    ehuss committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    8ea676e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e1cd59 View commit details
    Browse the repository at this point in the history
  6. more toolstate comments

    RalfJung authored and ehuss committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    a6d8c9c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a41f1f1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    729d49d View commit details
    Browse the repository at this point in the history
  9. Don't use .ok() before unwrapping via .expect() on a Result.

    The Result can be expect-unwrapped directly. (clippy::ok_expect)
    matthiaskrgr committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    07168f9 View commit details
    Browse the repository at this point in the history
  10. Use .map() to modify data inside Options instead of using .and_then(|…

    …x| Some(y)) (clippy::option_and_then_some)
    matthiaskrgr committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    569676b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    38f5db7 View commit details
    Browse the repository at this point in the history
  12. Don't use "if let" bindings to only check a value and not actually bi…

    …nd anything.
    
    For example:  `if let Some(_) = foo() {}`	can be reduced to	`if foo().is_some() {}`   (clippy::redundant_pattern_matching)
    matthiaskrgr committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    d8d2004 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    27becb2 View commit details
    Browse the repository at this point in the history
  14. Use single-char patter on {ends,starts}_with and remove clone on copy…

    … type.
    
    These were introduced since I last fixed most of these occurences. (clippy::clone_on_copy, clippy::single_char_pattern)
    matthiaskrgr committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    80ed505 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Rollup merge of rust-lang#69520 - kornelski:e69492, r=cramertj

    Make error message clearer about creating new module
    
    This is a partial improvement for rust-lang#69492
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    91d521e View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#69589 - petrochenkov:maccall, r=Centril

    ast: `Mac`/`Macro` -> `MacCall`
    
    It's now obvious that these refer to macro calls rather than to macro definitions.
    
    It's also a single name instead of two different names in different places.
    
    `rustc_expand` usually calls macro calls in a wide sense (including attributes and derives) "macro invocations", but structures and variants renamed in this PR are only relevant to fn-like macros, so it's simpler and clearer to just call them calls.
    
    cc rust-lang#63586 (comment)
    r? @eddyb
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    33f4285 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#69614 - estebank:ice-age, r=davidtwco

    `delay_span_bug` when codegen cannot select obligation
    
    Fix rust-lang#69602, introduced in rust-lang#60126 by letting the compiler continue past
    type checking after encountering errors.
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    e067bf4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#69641 - ehuss:update-books, r=ehuss

    Update books
    
    ## nomicon
    
    8 commits in 3e6e1001dc6e095dbd5c88005e80969f60e384e1..9f797e65e6bcc79419975b17aff8e21c9adc039f
    2019-12-14 22:08:52 +0000 to 2020-03-04 03:45:13 +0100
    - Rustup to latest rustc (rust-lang/nomicon#203)
    - (minor) Add backticks around type names (rust-lang/nomicon#197)
    - Add book.toml (rust-lang/nomicon#185)
    - Rename `Alloc` to `AllocRef` (rust-lang/nomicon#188)
    - Lifetimes: explain how to fix destructor example (rust-lang/nomicon#195)
    - mention soundness (rust-lang/nomicon#194)
    - Fix example in FFI section Calling Rust from C (rust-lang/nomicon#193)
    - Removed repeated word (rust-lang/nomicon#191)
    
    ## reference
    
    8 commits in 64239df..559e09c
    2020-02-10 19:05:13 +0100 to 2020-03-02 01:17:14 +0100
    - Syntax error fix (rust-lang/reference#769)
    - Fix incorrect pseudocode for #[repr(C)] struct alignment (rust-lang/reference#766)
    - Replace "Field-Less" with "Fieldless" (rust-lang/reference#768)
    - Removed repeated word (rust-lang/reference#767)
    - Update for change in const lint name. (rust-lang/reference#764)
    - semantic type -> resolved type (rust-lang/reference#761)
    - add behavior change of relative paths without `self` in 2018 edition (rust-lang/reference#757)
    - assignment operator expressions -> compound assignment expressions (rust-lang/reference#759)
    
    ## rust-by-example
    
    3 commits in 32facd5522ddbbf37baf01e4e4b6562bc55c071a..db57f899ea2a56a544c8d280cbf033438666273d
    2020-02-11 09:25:06 -0300 to 2020-02-18 17:46:46 -0300
    - Minor typo fix in src/mod/visibility (rust-lang/rust-by-example#1309)
    - Don't suggest Into implements a reverse conversion (rust-lang/rust-by-example#1307)
    - Improve grammar in example of 'in let' section (rust-lang/rust-by-example#1308)
    
    ## embedded-book
    
    2 commits in b2e1092bf67bd4d7686c4553f186edbb7f5f92db..b81ffb7a6f4c5aaed92786e770e99db116aa4ebd
    2020-01-30 08:45:46 +0000 to 2020-02-27 08:06:04 +0000
    - Setting output to `high` needs a `true` argument  (rust-embedded/book#227)
    - Add licence notes to index.md  (rust-embedded/book#226)
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    c2e496d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69674 - mark-i-m:assoc-fn, r=Centril

    Rename DefKind::Method and TraitItemKind::Method
    
    r? @eddyb, @Centril, or @matthewjasper
    
    cc rust-lang#69498 rust-lang#60163
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    210d693 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69697 - GuillaumeGomez:explanation-e0380, r…

    …=Dylan-DPC
    
    Add explanation for E0380
    
    r? @Dylan-DPC
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    c9f7758 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69698 - RalfJung:int_assoc, r=davidtwco

    Use associated constants of integer types
    
    Take advantage of rust-lang#68952 in the interpreter and some nearby modules :)
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    2ef7c86 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69705 - ehuss:toolstate-remove-redundant-be…

    …ta, r=Mark-Simulacrum
    
    Toolstate: remove redundant beta-week check.
    
    I made a bit of a mistake in rust-lang#69624.  The "beta regression" doesn't need to be checked twice.
    
    I also rolled up rust-lang#69693 to avoid merge conflicts.
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    18d3c36 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69711 - penelopezone:patch-1, r=steveklabnik

    Update macros.rs: fix documentation typo.
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    e15d393 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#69713 - matthiaskrgr:more_cleanup, r=cramertj

    more clippy cleanups
    
    * Don't use .ok() before unwrapping via .expect() on a Result.
    * Use .map() to modify data inside Options instead of using .and_then(|x| Some(y))
    * Use .as_deref() instead of .as_ref().map(Deref::deref)
    * Don't use "if let" bindings to only check a value and not actually bind anything.
    * Use single-char patter on {ends,starts}_with and remove clone on copy type.
    JohnTitor authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    5089e11 View commit details
    Browse the repository at this point in the history