1. 04 9月, 2021 5 次提交
    • B
      Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiser · b4e8596e
      bors 提交于
      Detect bare blocks with type ascription that were meant to be a `struct` literal
      
      Address part of #34255.
      
      Potential improvement: silence the other knock down errors in `issue-34255-1.rs`.
      b4e8596e
    • B
      Auto merge of #88482 - athei:add-import-test, r=the8472 · 03c775c9
      bors 提交于
      Add regression test for a spurious import
      
      This PR adds a test that verifies that the bug described in the linked issue does not creep back into the code. In essence it checks that compiling some specific code (that uses 128 bit multiplication) with a specific set of compiler options does not lead to a spurious import of a panic function.
      
      I noticed that other wasm tests use `# only-wasm32-bare` in their `Makefile`. This will skip the test for me. I did not find out how to run this test locally. Maybe someone can help.
      
      closes #78744
      r? `@jyn514`
      03c775c9
    • B
      Auto merge of #88572 - matthewjasper:if-let-scoping-fix, r=oli-obk · b7404c89
      bors 提交于
      Fix drop handling for `if let` expressions
      
      MIR lowering for `if let` expressions is now more complicated now that
      `if let` exists in HIR. This PR adds a scope for the variables bound in
      an `if let` expression and then uses an approach similar to how we
      handle loops to ensure that we reliably drop the correct variables.
      
      Closes #88307
      cc `@flip1995` `@richkadel` `@c410-f3r`
      b7404c89
    • M
      Update coverage tests · 4e2fd4fc
      Matthew Jasper 提交于
      4e2fd4fc
    • B
      Auto merge of #88454 - devnexen:sunos_asan, r=wesleywiser · 4878034c
      bors 提交于
      sunos systems add sanitizer supported.
      4878034c
  2. 03 9月, 2021 34 次提交
  3. 02 9月, 2021 1 次提交