Files
rust/compiler
bors d03456db5c Auto merge of #87338 - SparrowLii:MaybeTrait, r=wesleywiser
Simplify the collecting of `? Trait` bounds in where clause

This PR fixes the FIXME about using less rightward drift and only one error reporting when collecting of `?Trait` bounds in where clause.
Checking whether the path length of `bound_ty` is 1 can be replaced by whether `unresolved_segments` in the partial_res is 0.
Checking whether the `param.kind` is `Type{...}` can also be omitted. One Fx hash calculation will be done for Const or Lifetime param, but the impact on efficiency should be small IMO
2021-07-24 02:30:35 +00:00
..
2021-04-04 14:10:26 -07:00
2021-03-27 22:16:33 -04:00
2021-07-21 12:01:03 +08:00
2021-05-31 13:55:43 +02:00
2021-07-13 17:58:50 +09:00
2021-07-06 19:22:27 +02:00
2021-07-10 20:54:49 +08:00
2021-05-31 13:55:43 +02:00