1. 25 9月, 2017 3 次提交
    • D
      Allow unused extern crate again · 247b58b4
      David Tolnay 提交于
      This is a partial revert of #42588. There is a usability concern
      reported in #44294 that was not considered in the discussion of the PR,
      so I would like to back this out of 1.21. As is, I think users would
      have a worse and more confusing experience with this lint enabled by
      default. We can re-enabled once there are better diagnostics or the case
      in #44294 does not trigger the lint.
      247b58b4
    • B
      Auto merge of #44700 - arielb1:mir-effectck, r=nikomatsakis · 7a9cdc4c
      bors 提交于
      Move effect-checking to MIR
      
      This allows emitting lints from MIR and moves the effect-checking pass to work on it.
      
      I'll make `repr(packed)` misuse unsafe in a separate PR.
      
      r? @EddyB
      7a9cdc4c
    • B
      Auto merge of #44758 - arielb1:a-small-path, r=eddyb · 48c1c548
      bors 提交于
      put empty generic lists behind a pointer
      
      This reduces the size of hir::Expr from 128 to 88 bytes (!) and shaves
      200MB out of #36799.
      
      This is a performance-sensitive PR so please don't roll it up.
      
      r? @EddyB
      48c1c548
  2. 24 9月, 2017 26 次提交
  3. 23 9月, 2017 11 次提交