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:
authorbors <bors@rust-lang.org>2019-01-29 19:58:13 +0000
committerbors <bors@rust-lang.org>2019-01-29 19:58:13 +0000
commit6b1a2a9c3e1c8443d30247aa0d02f64d9f44e107 (patch)
tree27b8bfa101f7b15065f8e0ebf0528ad43741bcb5 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentf55d521e6bad60568aeb89d3d86eb15ad0ed5642 (diff)
parentd0d7c5e92271c40b74e796bcf71758348a748553 (diff)
downloadrust-6b1a2a9c3e1c8443d30247aa0d02f64d9f44e107.tar.gz
rust-6b1a2a9c3e1c8443d30247aa0d02f64d9f44e107.zip
Auto merge of #3648 - phansch:const_fn_lint, r=oli-obk
Add initial version of const_fn lint

This adds an initial version of a lint that can tell if a function could be `const`.

TODO:

- [x] Finish up the docs
- [x] Fix the ICE

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