1. 30 1月, 2021 3 次提交
  2. 29 1月, 2021 1 次提交
  3. 28 1月, 2021 2 次提交
    • Y
      Rollup merge of #81277 - flip1995:from_diag_items, r=matthewjasper · 299ff496
      Yuki Okushi 提交于
      Make more traits of the From/Into family diagnostic items
      
      Following traits are now diagnostic items:
      - `From` (unchanged)
      - `Into`
      - `TryFrom`
      - `TryInto`
      
      This also adds symbols for those items:
      - `into_trait`
      - `try_from_trait`
      - `try_into_trait`
      
      Related: https://github.com/rust-lang/rust-clippy/pull/6620#discussion_r562482587
      299ff496
    • Y
      Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakis · 7bd3d6ce
      Yuki Okushi 提交于
      Refractor a few more types to `rustc_type_ir`
      
      In the continuation of #79169, ~~blocked on that PR~~.
      
      This PR:
       - moves `IntVarValue`, `FloatVarValue`, `InferTy` (and friends) and `Variance`
       - creates the `IntTy`, `UintTy` and `FloatTy` enums in `rustc_type_ir`, based on their `ast` and `chalk_ir` equilavents, and uses them for types in the rest of the compiler.
      
      ~~I will split up that commit to make this easier to review and to have a better commit history.~~
      EDIT: done, I split the PR in commits of 200-ish lines each
      
      r? `````@nikomatsakis````` cc `````@jackh726`````
      7bd3d6ce
  4. 27 1月, 2021 2 次提交
  5. 26 1月, 2021 4 次提交
    • B
      Auto merge of #6469 - matthiaskrgr:clippy_dev_crater, r=flip1995 · be0125be
      bors 提交于
      add "cargo dev crater" to run clippy on a fixed set of crates and diff the lint warnings
      
      `cargo dev crater` now does the following:
      build clippy in debug mode
      for a fixed set of crates:
       download and extract the crate
       run compiled clippy on the crate
       dump the warnings into a file that is inside the repo
      
      We can then do a "git diff" and see what effects our clippy changes had on a tiny fraction of the rust ecosystem and can see when an change unexpectedly added or silenced a lot of warnings.
      
      Checking all the crates took less than 5 minutes on my system.
      
      Should help with https://github.com/rust-lang/rust-clippy/issues/6429
      
      ---
      
      *Please write a short comment explaining your change (or "none" for internal only changes)*
      changelog: extend cargo dev to run clippy against a fixed set of crates and compare warnings
      be0125be
    • B
      Auto merge of #6617 - Manishearth:exhaustive_enums, r=camsteffen · 8d57cee9
      bors 提交于
      New lint: exhaustive_enums, exhaustive_structs
      
      Fixes #6616
      
      changelog: Added restriction lint: `exhaustive_enums`, `exhaustive_structs`
      8d57cee9
    • M
      Add test with attrs · 3e3dff71
      Manish Goregaokar 提交于
      3e3dff71
    • M
      Better suggestion span · e0ae980f
      Manish Goregaokar 提交于
      e0ae980f
  6. 25 1月, 2021 2 次提交
  7. 23 1月, 2021 26 次提交