bors 6b1a2a9c3e 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
2019-01-29 19:58:13 +00:00
..
2019-01-29 08:19:05 +01:00
2019-01-21 13:59:49 +01:00
2019-01-08 21:46:39 +01:00
2019-01-07 14:37:28 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-27 13:46:22 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-15 08:09:47 +02:00
2018-10-13 00:42:55 +02:00
2018-12-09 23:26:16 +01:00
2018-12-28 12:41:12 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-27 13:46:22 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2018-07-16 11:46:37 +02:00
2019-01-13 19:57:19 +01:00
2019-01-13 19:57:19 +01:00
2019-01-13 19:57:19 +01:00
2019-01-29 07:22:08 +02:00
2019-01-29 07:22:08 +02:00
2019-01-22 15:16:54 +01:00
2019-01-22 15:16:54 +01:00
2019-01-22 15:16:54 +01:00
2018-12-28 12:41:12 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00