1. 09 2月, 2019 1 次提交
    • B
      Auto merge of #58161 - davidtwco:issue-57960, r=arielb1 · a2ec156a
      bors 提交于
      Lower constant patterns with ascribed types.
      
      Fixes #57960.
      
      This PR fixes a bug introduced by #55937 which started checking user
      type annotations for associated type patterns. Where lowering a
      associated constant expression would previously return a
      `PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType`
      with a `PatternKind::Constant` inside, this PR unwraps that to
      access the constant pattern inside and behaves as before.
      
      r? @pnkfelix
      a2ec156a
  2. 08 2月, 2019 4 次提交
  3. 07 2月, 2019 35 次提交