about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2022-04-08 14:29:43 +0200
committerFlorian Diebold <flodiebold@gmail.com>2022-04-08 14:29:43 +0200
commit340f0fc3334f11b30f4c55757a0acb0b76ac5e37 (patch)
tree788259da4b54c4004b38d9942f759e7e3f0ff210 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentbc56920757c248229c341fb90d44fe3d4767c491 (diff)
downloadrust-340f0fc3334f11b30f4c55757a0acb0b76ac5e37.tar.gz
rust-340f0fc3334f11b30f4c55757a0acb0b76ac5e37.zip
Ignore `Drop` and `Destruct` bounds for now
- `T: ~const Drop` has a special meaning in Rust 1.61 that we don't implement.
  (So ideally, we'd only ignore `~const Drop`, but this should be fine
  for now.)
- `Destruct` impls are built-in in 1.62 (current nightlies as of 08-04-2022), so until
  the builtin impls are supported by Chalk, we ignore them as well.
  Since `Destruct` is implemented for everything in non-const contexts
  IIUC, this should also work fine.

Fixes #11932.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions