diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-01 07:42:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-01 07:42:44 -0700 |
| commit | 9c6548614be6e4441c4d129897678c1e01cd7717 (patch) | |
| tree | 476e95f9247f25ec832d467a0e3c7e35f2b4090f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 6556f269918124b43db67367867c6930cb3189c9 (diff) | |
| parent | 69e49908f9a3fa2ebee94f67825bce15118c10ba (diff) | |
| download | rust-9c6548614be6e4441c4d129897678c1e01cd7717.tar.gz rust-9c6548614be6e4441c4d129897678c1e01cd7717.zip | |
Rollup merge of #73705 - lcnr:skip_binder, r=nikomatsakis
stop taking references in Relate Adds a `Copy` bound to `Relate` and changes the type signatures to `T` from `&T`. While the `Copy` bound is not strictly necessary (i.e. the `Clone` bound of `TypeRelation` would be good enough), we don't need non `Copy` types and it simplifies the implementation. Removes the afaict unused impls for `Vec<ty::PolyExistentialProjection<'tcx>>`, `Rc<T>` and `Box<T>`. If they end up being relevant again the bound of `Relate` can be reduced to `T: Clone`. This also changes signature of `Binder::skip_binder` to `fn skip_binder(self) -> T`. `TypeError::ProjectionBoundsLength` was never used and is also removed in this PR. r? @nikomatsakis maybe :thinking: feel free to reassign
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
