about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-12 07:12:06 +0100
committerGitHub <noreply@github.com>2022-01-12 07:12:06 +0100
commit6726f1e013e77a24d8e697c40f85c30e7408dde8 (patch)
tree51018f016b6f7e430ed044e6f5948ad0f28da2fb /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
parent677f8f0f4fcc3183a5331bd792759e5f53cd10c2 (diff)
parentbf5130b502d3d1c61465c8deded65a1cb3929fbd (diff)
downloadrust-6726f1e013e77a24d8e697c40f85c30e7408dde8.tar.gz
rust-6726f1e013e77a24d8e697c40f85c30e7408dde8.zip
Rollup merge of #92432 - fee1-dead:constck-impl-constness, r=oli-obk
Error when selected impl is not const in constck

Catches bad things when checking a `default_method_body_is_const` body, such as:

```rust
self.map(/* .. */).is_sorted();
```

When `Map` does not yet have a `const` `impl` for `Iterator`.

r? ```@oli-obk```
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions