Philipp Hansch
4aff8711f0
Fix ICE in vec_box lint and add run-rustfix
...
`hir::Ty` doesn't seem to know anything about type bounds and
`cx.tcx.type_of(def_id)` caused an ICE when it was passed a generic type
with a bound:
```
src/librustc_typeck/collect.rs:1311: unexpected non-type Node::GenericParam: Type { default: None, synthetic: None }
```
Converting it to a proper `Ty` fixes the ICE and catches a few more
places where the lint applies.
2019-02-01 18:18:45 +01:00
..
2019-01-27 13:33:56 +01:00
2019-01-29 19:56:19 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-28 11:32:41 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-08 21:46:39 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-29 15:33:04 -06:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-29 15:33:04 -06:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-29 19:56:19 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:34:23 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-28 10:10:27 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:34:47 +00:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:33:56 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 13:34:23 +01:00
2019-01-27 01:42:34 +01:00
2019-02-01 18:18:45 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00
2019-01-27 01:42:34 +01:00