]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/item_path.rs
Auto merge of #54743 - ljedrz:cleanup_ty_p2, r=zackmdavis
[rust.git] / src / librustc / ty / item_path.rs
index bd4fee304a3321d0cbf6dddba06f5a3a71bdb04d..ab0813240364c687c855d7108da3ec9ef268e4a6 100644 (file)
@@ -461,6 +461,7 @@ pub fn characteristic_def_id_of_type(ty: Ty<'_>) -> Option<DefId> {
         ty::Str |
         ty::FnPtr(_) |
         ty::Projection(_) |
+        ty::UnnormalizedProjection(..) |
         ty::Param(_) |
         ty::Opaque(..) |
         ty::Infer(_) |