We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ty::UnnormalizedProjection
1 parent 96ff827 commit 282559cCopy full SHA for 282559c
src/librustc/ty/flags.rs
@@ -148,7 +148,10 @@ impl FlagComputation {
148
self.add_projection_ty(data);
149
}
150
151
- &ty::UnnormalizedProjection(..) => bug!("only used with chalk-engine"),
+ &ty::UnnormalizedProjection(ref data) => {
152
+ self.add_flags(TypeFlags::HAS_PROJECTION);
153
+ self.add_projection_ty(data);
154
+ },
155
156
&ty::Opaque(_, substs) => {
157
self.add_flags(TypeFlags::HAS_PROJECTION);
0 commit comments