diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-10-22 11:58:06 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-10-26 23:44:52 +0200 |
| commit | 28ce99df86bc4e7e1f36a266e4e19da3f1cfff8a (patch) | |
| tree | e9e8572f5915c8591f59d7812d4034f9fc9e5a11 /src/librustc/ich | |
| parent | 36d8432a6d808dcd9e792679930729c0ab9a0212 (diff) | |
| download | rust-28ce99df86bc4e7e1f36a266e4e19da3f1cfff8a.tar.gz rust-28ce99df86bc4e7e1f36a266e4e19da3f1cfff8a.zip | |
Added `mir::UserTypeProjection`, a stub for a structure that projects *into* a given UserTypeAnnotation.
(That is, it will pull out some component type held or referenced by the type annotation.) Note: this still needs to actually do projection itself. That comes in a later commit
Diffstat (limited to 'src/librustc/ich')
| -rw-r--r-- | src/librustc/ich/impls_mir.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc/ich/impls_mir.rs b/src/librustc/ich/impls_mir.rs index 4f68569c600..94b85247bb8 100644 --- a/src/librustc/ich/impls_mir.rs +++ b/src/librustc/ich/impls_mir.rs @@ -606,3 +606,5 @@ impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for mir::UserTypeAnnotation< } } } + +impl_stable_hash_for!(struct mir::UserTypeProjection<'tcx> { base }); |
