Philipp Hansch
|
15cba2e956
|
Fix missing_const_for_fn for impl trait methods
|
2019-03-05 08:11:55 +01:00 |
|
Philipp Hansch
|
b87f5bc55a
|
Don't trigger missing_const_for_fn in external macros
As reported in #3841. Only fixes the part where it triggers on the
`derive`.
|
2019-03-04 22:56:33 +01:00 |
|
Philipp Hansch
|
aed001b8d4
|
Update various docs
* `const_transmute` currently also seems to depend on the `const_fn`
feature.
* Only `Sized` is currently allowed as a bound, not Copy.
|
2019-01-29 08:19:05 +01:00 |
|
Philipp Hansch
|
0c6bdda562
|
Use built-in entry_fn detection over self-built
|
2019-01-29 08:19:05 +01:00 |
|
Philipp Hansch
|
c0a02691d8
|
cargo fmt
|
2019-01-29 08:19:05 +01:00 |
|
Philipp Hansch
|
f9d65b6356
|
Reorganize conditionals: Run faster checks first
|
2019-01-29 08:19:05 +01:00 |
|
Philipp Hansch
|
c3980bf0bc
|
Add initial version of const_fn lint
|
2019-01-29 08:19:05 +01:00 |
|