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 16 pull requests #76045

Closed
wants to merge 224 commits into from

Commits on Aug 8, 2020

  1. Miri: Renamed "undef" to "uninit"

    Renamed remaining references to "undef" to "uninit" when referring to Miri.
    
    Impacted directories are:
    
    - src/librustc_codegen_llvm/consts.rs
    - src/librustc_middle/mir/interpret/
    - src/librustc_middle/ty/print/pretty.rs
    - src/librustc_mir/
    - src/tools/clippy/clippy_lints/src/consts.rs
    
    Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project.
    
    Related issue rust-lang#71193
    pnadon committed Aug 8, 2020
    Configuration menu
    Copy the full SHA
    2d1515a View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2020

  1. Configuration menu
    Copy the full SHA
    a77e881 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bc0ecd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6b2254 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7cc1a2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    166c520 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f9ba829 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

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

    Ryan1729 authored Aug 10, 2020
    Configuration menu
    Copy the full SHA
    fbf637d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2020

  1. Rollup merge of rust-lang#75226 - pnadon:miri-undef-uninit, r=RalfJung

    Miri: Renamed "undef" to "uninit"
    
    Renamed remaining references to "undef" to "uninit" when referring to Miri.
    
    Impacted directories are:
    
    - `src/librustc_codegen_llvm/consts.rs`
    - `src/librustc_middle/mir/interpret/`
    - `src/librustc_middle/ty/print/pretty.rs`
    - `src/librustc_mir/`
    - `src/tools/clippy/clippy_lints/src/consts.rs`
    
    Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project.
    
    Related issue rust-lang#71193
    JohnTitor authored Aug 11, 2020
    Configuration menu
    Copy the full SHA
    91aa55d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8713e3 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#5892 - matthiaskrgr:redundant_mut, r=flip1995

    unnecessary-mut-passed: make lint message say if fn is a function or a method
    
    changelog: refine "unnecessary-mut-passed" lint message
    bors committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    3337f79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c0a9d64 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac194ca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    04867e0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6af297f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f171f89 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bdf4dc3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1f17c3b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4236156 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2de290d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    db390f5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    89591a7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    605e027 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    be3e695 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    027780c View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Auto merge of rust-lang#75405 - flip1995:clippyup, r=Manishearth

    Update Clippy
    
    Biweekly Clippy update (2 days late, since I wanted to wait for rust-lang#75098)
    
    r? @Manishearth
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    fdc2f87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a96b9c View commit details
    Browse the repository at this point in the history
  3. fix typo pointed out in review comment

    Co-authored-by: Philipp Krones <[email protected]>
    Ryan1729 and flip1995 authored Aug 12, 2020
    Configuration menu
    Copy the full SHA
    7d2e42d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    318c74a View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#5898 - flip1995:rustup, r=flip1995

    Rustup
    
    r? @ghost
    
    changelog: none
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    3ed0a4c View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#5885 - Ryan1729:patch-2, r=flip1995

    Add example of false positive to PTR_ARG docs.
    
    Addresses rust-lang#214
    
    changelog: Add example of false positive to `ptr_arg` docs.
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    2f4de2f View commit details
    Browse the repository at this point in the history
  7. Add the other overloadable operations to suspicious_arithmetic_impl

    In rust-lang#2268 I idly mused that the other user-overloadable operations could be added to this lint. Knowing that the lint was arguably incomplete was gnawing at the back of my mind, so I figured that I might as well make this PR, particularly given the change needed was so small.
    Ryan1729 committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    0fc61be View commit details
    Browse the repository at this point in the history
  8. formatting

    Ryan1729 committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    616682d View commit details
    Browse the repository at this point in the history
  9. trailing comma

    Should have actually ran rustfmt on it, rather than attempting to fix it manually
    Ryan1729 committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    c705817 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f4eeff9 View commit details
    Browse the repository at this point in the history
  11. Auto merge of rust-lang#5893 - matthiaskrgr:lint_msg, r=yaahc

    fix remaining lint messages
    
    r? @yaahc
    
    changelog:  make remaining lint messages adhere to rustc dev guide lint message convention.
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    c73cf9f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7bd7a46 View commit details
    Browse the repository at this point in the history
  13. Auto merge of rust-lang#5884 - Ryan1729:patch-1, r=flip1995

    Add the other overloadable operations to suspicious_arithmetic_impl
    
    In rust-lang#2268 I idly mused that the other user-overloadable operations could be added to this lint. Knowing that the lint was arguably incomplete was gnawing at the back of my mind, so I figured that I might as well make this PR, particularly given the change needed was so small.
    
    changelog: Start warning on suspicious implementations of the `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr` traits.
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    439bae6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    480ccc3 View commit details
    Browse the repository at this point in the history
  15. Auto merge of rust-lang#5897 - matthiaskrgr:no_clone_tts, r=flip1995

    write.rs: don't clone TokenStream
    
    changelog: none
    bors committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    dc1e09b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5634c8d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4e28d99 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Configuration menu
    Copy the full SHA
    9f827ab View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#5900 - ThibsG:ParensUselessConversion4750, r=…

    …phansch
    
    Fix: keep parenthesis for suggestion in `useless_conversion` lint
    
    Note: this lint was previously named `identity_conversion`.
    
    fixes: rust-lang#4750
    
    changelog: fix parenthesis for `useless_conversion` lint suggestion
    bors committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    fc4fd91 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#5899 - JarredAllen:rc-box-suggestion, r=yaahc

    Change Rc<Box<T>> recommendation to be Rc<T> instead of Box<T>
    
    Fixes rust-lang#5722
    
    changelog: Suggest `Rc<Box<T>>` -> `Rc<T>` in [`redundant_allocation`] lint
    bors committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    d5f5487 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5901 - giraffate:add_reference_to_rustc_dev_g…

    …uide, r=matthiaskrgr
    
    Add reference to rustc-dev-guide about lint message
    
    I think it would be better to add lint message convention to documentation. I referred to rust-lang/rust-clippy#5888 and rust-lang/rust-clippy#5893.
    
    changelog: none
    bors committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    ba363bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    429a1ce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48a1425 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#5905 - ErichDonGubler:patch-1, r=flip1995

    docs: typo in `temporary_cstring_as_ptr`: s/point/&s
    
    changelog: none
    bors committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    8ecc0fc View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. Configuration menu
    Copy the full SHA
    8514b84 View commit details
    Browse the repository at this point in the history
  2. Don't use to_string in impl Display

    chansuke committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    8e54997 View commit details
    Browse the repository at this point in the history
  3. Fix FP for same_item_push

    Don't emit a lint when `pushed_item` was declared as mutable variable.
    giraffate committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    f98ffa2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72d2c2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae56e98 View commit details
    Browse the repository at this point in the history
  6. elide lifetimes

    wiomoc committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    b381ade View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2020

  1. Auto merge of rust-lang#5910 - flip1995:rustup, r=flip1995

    Rustup
    
    r? @ghost
    
    changelog: none
    bors committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    f0cc006 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d18fe7 View commit details
    Browse the repository at this point in the history
  3. Visitor added

    jrqc committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    85f4ef0 View commit details
    Browse the repository at this point in the history
  4. Borrow checker added

    jrqc committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    65d10c7 View commit details
    Browse the repository at this point in the history
  5. Known problems changed

    jrqc committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    cd6ca72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a7d5c2f View commit details
    Browse the repository at this point in the history
  7. cargo dev update_lints

    jrqc committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    96efaee View commit details
    Browse the repository at this point in the history
  8. early return removed

    jrqc committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    baa4cb1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1a140dc View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2020

  1. Auto merge of rust-lang#5912 - ebroto:needless_doctest_main_improveme…

    …nts, r=Manishearth,flip1995
    
    Parse doctests in needless_doctest_main
    
    This switches from text-based search to running the parser to avoid false positives. Inspired by how [rustdoc](https://github.com/rust-lang/rust/blob/3f3250500fe152b5759c21453ba9a9129808d0d8/src/librustdoc/test.rs#L366) handles this and by rust-lang#4729.
    
    cc @llogiq
    
    changelog: Fix multiple false positives in [`needless_doctest_main`].
    
    Fixes rust-lang#5879
    Fixes rust-lang#4906
    Fixes rust-lang#5103
    Fixes rust-lang#4698
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    f8db258 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#5831 - chansuke:to_string_in_display, r=flip1995

    Don't use `to_string` in impl Display
    
    fixes rust-lang#3876
    
    this PR is derived from [Toxyxer's implementation](rust-lang/rust-clippy#5574).
    changelog: add [`to_string_in_display`] lint
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    e522ca3 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#5881 - wiomoc:feature/single-char-push_str, r…

    …=ebroto,flip1995
    
    Lint `push_str` with a single-character string literal
    
    Fixes rust-lang#5875
    changelog:  `* [single_char_push_str]`
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    c8e05fc View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5903 - jrqc:needless_return, r=ebroto,flip1995

    Needless return
    
    Fixes rust-lang#5858
    changelog: fix false positive [`needless_return`]
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    dff7e74 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#5907 - wiomoc:feature/useless-vec-max-size, r…

    …=flip1995
    
    appreciative too_large_for_stack in useless `vec!`
    
    Fixes: rust-lang#5847
    changelog: Add `too_large_for_stack ` configuration option for `USELESS_VEC`
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    78857cc View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#5725 - montrivo:should-impl-trait, r=flip1995

    should_impl_trait - ignore methods with lifetime params
    
    Fixes: rust-lang#5617
    
    changelog: don't lint should_implement_trait when an `Iterator::next` case has explicit parameters
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    3bd9889 View commit details
    Browse the repository at this point in the history
  7. Implement new lint

    bugadani committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    a3ea65c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    923d612 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    848af39 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a7cc5d4 View commit details
    Browse the repository at this point in the history
  11. Run cargo dev update_lints

    bugadani committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    d7220db View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    75637c1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a7083ee View commit details
    Browse the repository at this point in the history
  14. Apply suggested change

    Co-authored-by: Philipp Krones <[email protected]>
    bugadani and flip1995 committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    94cf90e View commit details
    Browse the repository at this point in the history
  15. Apply suggested change

    Co-authored-by: Philipp Krones <[email protected]>
    bugadani and flip1995 committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    9c41822 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d8f0a14 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d71b418 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8a14c11 View commit details
    Browse the repository at this point in the history
  19. run cargo dev fmt

    bugadani committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    3b52d7f View commit details
    Browse the repository at this point in the history
  20. Fix dogfooding test errors

    bugadani committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    b7ee868 View commit details
    Browse the repository at this point in the history
  21. Auto merge of rust-lang#5913 - HactarCE:patch-1, r=flip1995

    Fix typo in description of unnecessary_mut_passed
    
    changelog: Correct "immutable reference" to "mutable reference" in description of `unnecessary_mut_passed`
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    5d723d0 View commit details
    Browse the repository at this point in the history
  22. Fix missed rename

    bugadani committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    b175642 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    fc1e07e View commit details
    Browse the repository at this point in the history
  24. Auto merge of rust-lang#5720 - bugadani:new-lint, r=flip1995,yaahc

    Add unnecessary lazy evaluation lint
    
    changelog: Add [`unnecessary_lazy_evaluations`] lint that checks for usages of `unwrap_or_else` and similar functions that can be simplified.
    
    Closes rust-lang#5715
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    8d0d89a View commit details
    Browse the repository at this point in the history
  25. Introduce function for comparing expression values

    Introduce `eq_expr_value(cx, a, b)` as a shortcut for
    `SpanlessEq::new(cx).ignore_fn().eq_expr(cx, a, b)`.
    
    No functional changes intended.
    tmiasko committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    6afa4ef View commit details
    Browse the repository at this point in the history
  26. Rename SpanlessEq::ignore_fn to deny_side_effects

    No functional changes intended.
    tmiasko committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    9b800b1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d1dbf79 View commit details
    Browse the repository at this point in the history
  28. Warn about explicit self-assignment

    Warn about assignments where left-hand side place expression is the same
    as right-hand side value expression. For example, warn about assignment in:
    
    ```rust
    pub struct Event {
        id: usize,
        x: i32,
        y: i32,
    }
    
    pub fn copy_position(a: &mut Event, b: &Event) {
        a.x = b.x;
        a.y = a.y;
    }
    ```
    tmiasko committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    4f4abf4 View commit details
    Browse the repository at this point in the history
  29. Auto merge of rust-lang#5894 - tmiasko:self-assignment, r=Manishearth

    Warn about explicit self-assignment
    
    Warn about assignments where left-hand side place expression is the same
    as right-hand side value expression. For example, warn about assignment in:
    
    ```rust
    pub struct Event {
        id: usize,
        x: i32,
        y: i32,
    }
    
    pub fn copy_position(a: &mut Event, b: &Event) {
        a.x = b.x;
        a.y = a.y;
    }
    ```
    
    changelog: New lint `self_assignment`, checks for explicit self-assignments.
    bors committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    8332fe8 View commit details
    Browse the repository at this point in the history
  30. Improve code style

    giraffate committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    99ba290 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2020

  1. deps: bump cargo_metadata and semver

    cargo_metadata 0.9.1 -> 0.11.1
    semver 0.9.0 -> 0.10.0
    matthiaskrgr committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    262db3b View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#5915 - matthiaskrgr:deps_, r=Manishearth

    deps: bump cargo_metadata and semver
    
    cargo_metadata 0.9.1 -> 0.11.1
    semver 0.9.0 -> 0.10.0
    
    changelog: none
    bors committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    838c201 View commit details
    Browse the repository at this point in the history
  3. clippy: support QPath::LangItem

    This commit updates clippy with the introduction of `QPath::LangItem` so
    that it still compiles.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    f13d2bf View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5908 - giraffate:fix_fp_for_same_item_push, r…

    …=flip1995
    
    Fix FP for `same_item_push`
    
    Fixes rust-lang/rust-clippy#5902
    
    changelog: Fix FP for `same_item_push` where the pushed variable is mutated.
    bors committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    9360ca6 View commit details
    Browse the repository at this point in the history
  5. rust_ast::ast => rustc_ast

    ryzokuken authored and JulianKnodt committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    ae0eb39 View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#75120 - JulianKnodt:rm_reps, r=oli-obk

    rust_ast::ast => rustc_ast
    
    Rework of rust-lang#71199 which is a rework rust-lang#70621
    
    Still working on this but just made the PR to track progress
    
    r? @Dylan-DPC
    bors committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    4b0e6d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2020

  1. Configuration menu
    Copy the full SHA
    c680602 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#5922 - flip1995:rustup, r=flip1995

    Rustup
    
    r? @ghost
    
    changelog: none
    bors committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    6220dff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df4d42f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6a12bae View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2020

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

Commits on Aug 20, 2020

  1. Fix false positive in PRECEDENCE lint

    Extend the lint to handle chains of methods combined with unary negation.
    
    Closes rust-lang#5924
    Michael Wright committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    c236c0f View commit details
    Browse the repository at this point in the history
  2. Capture tokens for Pat used in macro_rules! argument

    This extends PR rust-lang#73293 to handle patterns (Pat). Unlike expressions,
    patterns do not support custom attributes, so we only need to capture
    tokens during macro_rules! argument parsing.
    Aaron1011 committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    191b080 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#5919 - ebroto:5747_from_bits_in_const, r=matt…

    …hiaskrgr
    
    transmute: avoid suggesting from/to bits in const
    
    changelog: Avoid suggesting from/to bits in const contexts in [`transmute_int_to_float`]
    
    Fixes rust-lang#5747
    bors committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    d891954 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5928 - mikerite:fix-5924, r=ebroto

    Fix false positive in `PRECEDENCE` lint
    
    Extend the lint to handle chains of methods combined with unary negation.
    
    Closes rust-lang#5924
    
    changelog: Fix false negative in `PRECEDENCE` lint
    bors committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    4104611 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. Fix false negative in option_as_ref_deref

    Michael Wright committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    11efd75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2799c8 View commit details
    Browse the repository at this point in the history
  3. run cargo dev fmt

    ebroto committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    146e352 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5938 - ebroto:sync-from-rust, r=ebroto

    Rustup
    
    r? @ghost
    
    changelog: none
    bors committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    1a26dbf View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#5933 - mikerite:fix-5927, r=matthiaskrgr

    Fix false negative in `option_as_ref_deref`
    
    Closes rust-lang#5927
    
    changelog: Fix false negative in `option_as_ref_deref`
    bors committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    aa3b04f View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2020

  1. Auto merge of rust-lang#5926 - giraffate:improve_lint_message_in_to_s…

    …tring_in_display, r=yaahc
    
    Improve lint message in `to_string_in_display`
    
    This is a follow-up of rust-lang/rust-clippy#5831.
    
    changelog: none
    bors committed Aug 22, 2020
    Configuration menu
    Copy the full SHA
    b57ef14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03bc7ae View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#5934 - ThibsG:WrongSelfTestCase4037, r=ebroto

    Add async test case for FP in `wrong_self_convention` lint
    
    Closes: rust-lang#4037
    
    changelog: none
    
    r? @ebroto
    bors committed Aug 22, 2020
    Configuration menu
    Copy the full SHA
    a8520b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    191b6c7 View commit details
    Browse the repository at this point in the history
  5. Widen understanding of prelude import

    Prelude imports are exempt from wildcard import warnings. Until now only
    imports of the form
    
    ```
    use ...::prelude::*;
    ```
    
    were considered. This change makes it so that the segment `prelude` can
    show up anywhere, for instance:
    
    ```
    use ...::prelude::v1::*;
    ```
    
    Fixes rust-lang#5917
    stchris committed Aug 22, 2020
    Configuration menu
    Copy the full SHA
    5b07b9e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53508ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e615a26 View commit details
    Browse the repository at this point in the history
  8. Auto merge of rust-lang#5929 - stchris:issues/5917, r=ebroto

    Widen understanding of prelude import
    
    Prelude imports are exempt from wildcard import warnings. Until now only
    imports of the form
    
    ```
    use ...::prelude::*;
    ```
    
    were considered. This change makes it so that the segment `prelude` can
    show up anywhere, for instance:
    
    ```
    use ...::prelude::v1::*;
    ```
    
    Fixes rust-lang#5917
    
    changelog: Allow `prelude` to appear in any segment of the import path in [`wildcard_imports`]
    bors committed Aug 22, 2020
    Configuration menu
    Copy the full SHA
    f21d10b View commit details
    Browse the repository at this point in the history
  9. Auto merge of rust-lang#5941 - ThibsG:InlineInCopyPassByRef, r=yaahc

    Don't lint if it has always inline attribute
    
    Don't trigger the lint `trivially_copy_pass_by_ref` if it has `#[inline(always)]` attribute.
    
    Note: I am not particularly familiar with `inline` impacts, so I implemented this the way that if only `#[inline]` attribute is here (without `always`), the lint will still trigger. Also, it will still trigger if it has `#[inline(never)]`.
    Just tell me if it sounds too much conservative.
    
    Fixes: rust-lang#5876
    
    changelog: none
    bors committed Aug 22, 2020
    Configuration menu
    Copy the full SHA
    dd07860 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2020

  1. Fix let_and_return bad suggestion

    Add a cast to the suggestion when the return expression has adjustments.
    These adjustments are lost when the suggestion is applied.
    
    This is similar to the problem in issue rust-lang#4437.
    
    Closes rust-lang#5729
    Michael Wright committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    e8d33d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6dd65b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb8ede7 View commit details
    Browse the repository at this point in the history
  4. Fix ICE in repeat_once lint

    ebroto committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    8776db9 View commit details
    Browse the repository at this point in the history
  5. Fix fp in borrow_interior_mutable_const

    Fix false positive when referencing a field behind a pointer.
    rail-rain committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    91b200c View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#5930 - ebroto:dev_newlint_fix_lt, r=matthiaskrgr

    Fix cargo dev new_lint for late lint passes
    
    Since rust-lang/rust-clippy@30c046e, `LateLintPass` has only one lifetime parameter.
    
    I'm not sure how to easily test this, I think adding this kind of tests would be probably part of rust-lang#5394
    
    changelog: none
    bors committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    2d86cc5 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#5948 - ebroto:5944_repeat_ice, r=Manishearth

    Fix ICE in `repeat_once`
    
    changelog: Fix ICE in [`repeat_once`]
    
    Fixes rust-lang#5944
    bors committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    27ae4d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b05077e View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. Fix FP for redundant_closure_call

    Visit the nested things like function body when checking closure call.
    giraffate committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    b2c2266 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fe0ac3 View commit details
    Browse the repository at this point in the history
  3. typo

    Co-authored-by: Thibaud <[email protected]>
    rail-rain and ThibsG authored Aug 24, 2020
    Configuration menu
    Copy the full SHA
    ce8915c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc7ea6f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d820f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    680c681 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e0e179 View commit details
    Browse the repository at this point in the history
  8. Fix clashing_extern_declarations false positive.

    Fixes a false positive for transparent newtype with a non-zero member.
    jumbatm committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    f38eb93 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e9964f2 View commit details
    Browse the repository at this point in the history
  10. Auto merge of rust-lang#5935 - matthiaskrgr:unstable_sort_ty_name, r=…

    …flip1995
    
    stable_sort_primitive: print the type that is being sorted in the lint message
    
    changelog: stable_sort_primitive: print the type that is being sorted in the lint message
    bors committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    8d9a485 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1831f65 View commit details
    Browse the repository at this point in the history
  12. Unbreak the clippy test

    scottmcm committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    48b4aea View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Auto merge of rust-lang#5920 - giraffate:fix_fp_for_redundant_closure…

    …_call, r=mikerite
    
    Fix FP for `redundant_closure_call`
    
    Fix rust-lang#5916
    
    changelog: Fix FP for `redundant_closure_call` when called in function body
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    64b53f3 View commit details
    Browse the repository at this point in the history
  2. Fix incorrect comment

    Michael Wright committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    9102832 View commit details
    Browse the repository at this point in the history
  3. Simplify fmt test by using the clippy dev alias

    Michael Wright committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    48d4736 View commit details
    Browse the repository at this point in the history
  4. Fix intermittent build error

    The fmt test will cause clippy dev to be compiled and run. The clippy dev
    dependencies are currently stored at `target/debug/deps` when this happens.
    This location sometimes causes conflicts with ui tests which result in the
    build error "thread 'compile_test' panicked at 'Found multiple rlibs for crate
    `regex` ...".
    
    This commit forces the clippy_dev dependencies to be stored under
    `clippy_dev/target/` which seems to resolve this problem.
    Michael Wright committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    c7dc9c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    179df0b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f20f7f2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    671770e View commit details
    Browse the repository at this point in the history
  8. Use same name as attr.

    Co-authored-by: Bastian Kauschke <[email protected]>
    jumbatm and lcnr committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    2ea86af View commit details
    Browse the repository at this point in the history
  9. Remove unnecessary assert.

    jumbatm committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    352df40 View commit details
    Browse the repository at this point in the history
  10. Fix typo

    flip1995 authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    acc6b6c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a4090d2 View commit details
    Browse the repository at this point in the history
  12. Auto merge of rust-lang#5960 - flip1995:rustup, r=flip1995

    Rustup
    
    r? @ghost
    
    changelog: none
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    5ef345a View commit details
    Browse the repository at this point in the history
  13. Auto merge of rust-lang#5947 - ebroto:rustup_doc_improvements, r=flip…

    …1995
    
    Improve documentation related to the sync process
    
    [Rendered](https://github.com/ebroto/rust-clippy/blob/rustup_doc_improvements/CONTRIBUTING.md)
    
    r? @flip1995
    
    changelog: none
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    ba43a43 View commit details
    Browse the repository at this point in the history
  14. Auto merge of rust-lang#5952 - 1c3t3a:1c3t3a-dev-5819, r=Manishearth

    Added a lint which corrects expressions like (a - b) < f32::EPSILON, according to rust-lang#5819
    
    Fixes rust-lang#5819
    changelog: none
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    f901559 View commit details
    Browse the repository at this point in the history
  15. Auto merge of rust-lang#5958 - mikerite:fix-fmt-20200825, r=flip1995

    Various fmt test improvements
    
    Various fmt test improvements.
    
    changelog: none
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    f326668 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    18e7a1b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3b1e5d6 View commit details
    Browse the repository at this point in the history
  18. Auto merge of rust-lang#5961 - scottmcm:master, r=Manishearth

    Re-enable len_zero for ranges now that `is_empty` is stable on them
    
    Fixes rust-lang#5956
    
    Completed stabilization PR: rust-lang#75132
    
    changelog: len_zero: re-enable linting ranges now that range_is_empty is stable
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    e191151 View commit details
    Browse the repository at this point in the history
  19. Update clippy_lints/src/methods/mod.rs

    Co-authored-by: Eduardo Broto <[email protected]>
    ThibsG and ebroto authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    370fc45 View commit details
    Browse the repository at this point in the history
  20. Unify error reporting for intra-doc links

    - Give a suggestion even if there is no span available
    - Give a more accurate description of the change than 'use the
    disambiguator'
    - Write much less code
    jyn514 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    56d3f39 View commit details
    Browse the repository at this point in the history
  21. Remove unused ns parameter

    jyn514 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    05a040f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5ce4ee9 View commit details
    Browse the repository at this point in the history
  23. Remove outdated FIXME

    jyn514 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    e233d80 View commit details
    Browse the repository at this point in the history
  24. Auto merge of rust-lang#5951 - ThibsG:FixMacroCloneOnRefPtr2076, r=eb…

    …roto
    
    Fix incorrect suggestion when `clone_on_ref_ptr` is triggered in macros
    
    In the lint `clone_on_ref_ptr`, if the `span` is in a macro, don't expand it for suggestion.
    
    Fixes: rust-lang#2076
    
    changelog: none
    
    r? @ebroto
    bors committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    ad7a03c View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Use map_or(true) instead of unwrap_or(true)

    Co-authored-by: Ivan Tham <[email protected]>
    jyn514 and pickfire authored Aug 26, 2020
    Configuration menu
    Copy the full SHA
    bb351de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3c5817 View commit details
    Browse the repository at this point in the history
  3. Fix typo

    hkmatsumoto committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    9d18c24 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#5964 - matsujika:matsujika-patch-1, r=ebroto

    Fix typo
    
    changelog: none
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    23db542 View commit details
    Browse the repository at this point in the history
  5. Fix a typo in rust-lang#75781

    Amanieu committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    178c1bb View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#5949 - rail-rain:fix_fp_borrow_interior_mutab…

    …le_const, r=oli-obk
    
    Fix fp in `borrow_interior_mutable_const`
    
    fixes rust-lang#5796
    
    changelog: fix false positive in `borrow_interior_mutable_const` when referencing a field behind a pointer.
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    9ef4479 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#5946 - mikerite:fix-5729, r=flip1995

    Fix `let_and_return` bad suggestion
    
    Add a cast to the suggestion when the return expression has adjustments.
    These adjustments are lost when the suggestion is applied.
    
    This is similar to the problem in issue rust-lang#4437.
    
    Closes rust-lang#5729
    
    changelog: Fix `let_and_return` bad suggestion
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    894581b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2d85314 View commit details
    Browse the repository at this point in the history
  9. Auto merge of rust-lang#5966 - 1c3t3a:1c3t3a-dev-5819-fix, r=Manishearth

    Corrects the float_equality_without_abs lint
    
    Fixes an issue in the `float_equality_without_abs` lint. The lint suggestion was configured in a way that it lints the whole error and not just the subtraction part. In the current configuration the lint would suggest to change the expression in a wrong way, e.g.
    ```rust
    let _ = (a - b) < f32::EPSILON; // before
    let _ = (a - b).abs(); // after
    ```
    This was dicovered by @flip1995. (See discussion of PR rust-lang#5952).
    
    Also the suggestion is now formatted via `utils::sugg`.
    changelog: none
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    64c4bb0 View commit details
    Browse the repository at this point in the history
  10. Set ninja=true by default

    Ninja substantially improves LLVM build time. On a 96-way system, using
    Make took 248s, and using Ninja took 161s, a 35% improvement.
    
    We already require a variety of tools to build Rust. If someone wants to
    build without Ninja (for instance, to minimize the set of packages
    required to bootstrap a new target), they can easily set `ninja=false`
    in `config.toml`.  Our defaults should help people build Rust (and LLVM)
    faster, to speed up development.
    joshtriplett committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    30b7dac View commit details
    Browse the repository at this point in the history
  11. Disable ninja on macOS CI

    Should be re-enabled when we have a recipe for installing ninja on
    macOS.
    joshtriplett committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    181ce0e View commit details
    Browse the repository at this point in the history
  12. Install ninja on CI builders

    Windows CI builds already install ninja. Install it in all the
    Docker-based builds as well.
    joshtriplett committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    6149dff View commit details
    Browse the repository at this point in the history
  13. Provide a better diagnostic if ninja isn't installed

    Let people know that they can set ninja=false if they don't want to
    install ninja.
    joshtriplett committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    bb39f35 View commit details
    Browse the repository at this point in the history
  14. Fix the wrong use of snippet_with_applicability

    This includes a workaround of the issue rust-lang#5822,
    the cause of this little mistake.
    rail-rain committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    edc05da View commit details
    Browse the repository at this point in the history
  15. Auto merge of rust-lang#5968 - rail-rain:fix_use_snippet_with_applica…

    …bility, r=flip1995
    
    Fix the wrong use of `snippet_with_applicability`
    
    For the context, please see rust-lang/rust-clippy#5822 (comment) and rust-lang/rust-clippy#5822 (comment).
    
    ---
    
    changelog: none
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    e45c59e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    91024f1 View commit details
    Browse the repository at this point in the history
  17. Auto merge of rust-lang#5957 - xvschneider:AddUnwrapInsideResultLint,…

    … r=yaahc
    
    Adding new lint to prevent usage of 'unwrap' inside functions that re…
    
    ### Change
    Adding a new lint that will emit a warning when using "unwrap" or "expect" inside a function that returns result.
    ### Motivation
    These functions promote recoverable errors to non-recoverable errors which may be undesirable in code bases which wish to avoid panics.
    ### Test plan
    Running:
    `TESTNAME=unwrap_in_result cargo uitest
    `---
    
    changelog: none
    bors committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    dead45f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Configuration menu
    Copy the full SHA
    f758c7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b71c8b6 View commit details
    Browse the repository at this point in the history
  3. Fix FP in to_string_in_display

    Don't emit a lint when `.to_string()` on anything that is not `self`
    giraffate committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    04bff17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a3ee5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3cb75c2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5046126 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    970e779 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f0722c0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    046556e View commit details
    Browse the repository at this point in the history
  10. Auto merge of rust-lang#5971 - giraffate:fix_fp_in_to_string_in_displ…

    …ay, r=ebroto
    
    Fix FP in `to_string_in_display`
    
    Don't emit a lint when `.to_string()` on anything that is not `self`
    
    Fix rust-lang#5967
    
    changelog: Fix FP in `to_string_in_display` when calling `.to_string()` on anything that is not `self`
    bors committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    07c5e9e View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    9cdcfe2 View commit details
    Browse the repository at this point in the history
  2. Update compiler-builtins

    vigoux committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    392478c View commit details
    Browse the repository at this point in the history
  3. Update clippy_lints/src/utils/mod.rs

    Co-authored-by: Eduardo Broto <[email protected]>
    ThibsG and ebroto authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    e8be047 View commit details
    Browse the repository at this point in the history
  4. Update clippy_lints/src/utils/mod.rs

    Co-authored-by: Eduardo Broto <[email protected]>
    ThibsG and ebroto authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    ffaadae View commit details
    Browse the repository at this point in the history
  5. Update clippy_lints/src/methods/mod.rs

    Co-authored-by: Eduardo Broto <[email protected]>
    ThibsG and ebroto authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    73b1ee1 View commit details
    Browse the repository at this point in the history
  6. bump Miri

    RalfJung committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    2037ba4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8bcc4d6 View commit details
    Browse the repository at this point in the history
  8. Auto merge of rust-lang#5774 - ThibsG:FixNewRetNoSelf, r=ebroto

    Fix FP in `new_ret_no_self`: trigger in trait def instead of impl block
    
    Lint in trait def instead of impl block.
    
    Fixes: rust-lang#5435
    
    changelog: none
    bors committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    3d0b0e6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8b501e3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9e2228d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    adc7351 View commit details
    Browse the repository at this point in the history
  12. Update Cargo.lock

    flip1995 committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    575e27d View commit details
    Browse the repository at this point in the history
  13. Fix test

    Amanieu committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    9ae5e95 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. Rollup merge of rust-lang#74922 - joshtriplett:ninja-by-default, r=Ma…

    …rk-Simulacrum
    
    Set ninja=true by default
    
    Ninja substantially improves LLVM build time. On a 96-way system, using
    Make took 248s, and using Ninja took 161s, a 35% improvement.
    
    We already require a variety of tools to build Rust. If someone wants to
    build without Ninja (for instance, to minimize the set of packages
    required to bootstrap a new target), they can easily set `ninja=false`
    in `config.toml`.  Our defaults should help people build Rust (and LLVM)
    faster, to speed up development.
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    062f744 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#75852 - camelid:patch-3, r=jyn514

    Switch to intra-doc links in `core::hash`
    
    Part of rust-lang#75080.
    
    @rustbot modify labels: A-intra-doc-links T-doc T-rustdoc
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    520dbb9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#75874 - pickfire:patch-3, r=jyn514

    Shorten liballoc doc intra link while readable
    
    r? @jyn514
    
    Do you want to reviews these sort of pull requests in the future? I might send a few of them while reading vec code.
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    b8023cc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#75877 - vigoux:master, r=Amanieu

    Update compiler-builtins
    
    Update the compiler-builtins dependency to include latest changes.
    
    This allows for `aarch64-unknown-linux-musl` to pass all tests.
    
    Fixes rust-lang#57820 and fixes rust-lang#46651
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    2cb4c22 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b3cb99 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#75885 - jumbatm:issue75739-clashing-extern-…

    …declarations-transparent-nonzero, r=lcnr
    
    Fix another clashing_extern_declarations false positive.
    
    Fixes rust-lang#75739.
    
    Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member.
    
    r? @lcnr
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    9687dad View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#75892 - ArekPiekarz:unstable_book_tls_model…

    …_typo, r=petrochenkov
    
    Fix typo in TLS Model in Unstable Book
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    3e5669a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#75901 - GuillaumeGomez:ayu-theme-button-hov…

    …er-background-color, r=pickfire
    
    Improve theme button hover background color
    
    Fixes rust-lang#75880.
    
    ![Screenshot from 2020-08-25 13-44-01](https://user-images.githubusercontent.com/3050060/91170922-e60b1880-e6d9-11ea-9eb1-61a44cdc28d9.png)
    ![Screenshot from 2020-08-25 13-43-43](https://user-images.githubusercontent.com/3050060/91170924-e73c4580-e6d9-11ea-969e-616bf4130975.png)
    
    r? @pickfire
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    2c06347 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#75910 - bugadani:testcase, r=oli-obk

    Add test for issue rust-lang#27130
    
    rust-lang#27130 seems to be fixed by the llvm 11 update. The issue is marked with needs-test, so here it is. As some historical context, the generated code was fine until 1.38, and remained unoptimized from 1.38 up until the current nightly.
    
    I've also added a pattern matching version that was fine on 1.45.2.
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    1f1dbdc View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#75916 - jyn514:unify-error-reporting, r=euclio

     Unify error reporting for intra-doc links
    
    - Give a suggestion even if there is no span available
    - Give a more accurate description of the change than 'use the
    disambiguator'
    - Write much less code
    
    Closes rust-lang#75836.
    r? @euclio
    cc @pickfire - this gets rid of 'disambiguator' like you suggested in rust-lang#75079 (comment).
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    9cd0768 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5ee0755 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#75985 - csmoe:issue-61076-1, r=estebank

    Should not apply field accessing on enum
    
    Closes rust-lang#75977
    But I'm surprised that `x.py test --stage 1` and CI didn't catch this with existing testcase.
    r? @estebank
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    d62a324 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#75990 - rylev:arm-fastfail, r=alexcrichton

    Add __fastfail for Windows on arm/aarch64
    
    Fixes rust-lang#73215
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    993adf3 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#76015 - ortem:fix-lldb-script, r=Mark-Simul…

    …acrum
    
    Fix loading pretty-printers in rust-lldb script
    
    Pretty-printers loading in `rust-lldb` script was broken in rust-lang#72357
    
    This fixes rust-lang#76006
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    53f2dc8 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#76016 - RalfJung:miri, r=RalfJung

    bump Miri
    
    Fixes rust-lang#75970
    Cc @rust-lang/miri r? @ghost
    Dylan-DPC authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    75f5474 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    305c4b7 View commit details
    Browse the repository at this point in the history