]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/ty/print/mod.rs
drive-by: Fix path spans
[rust.git] / compiler / rustc_middle / src / ty / print / mod.rs
index 667298b9b5b1316ff2738e5c08b1ceab2502be75..3fad349bff8124a2f474dd73bcf105729175e9ce 100644 (file)
@@ -275,10 +275,9 @@ fn characteristic_def_id_of_type_cached<'a>(
         | ty::Uint(_)
         | ty::Str
         | ty::FnPtr(_)
-        | ty::Projection(_)
+        | ty::Alias(..)
         | ty::Placeholder(..)
         | ty::Param(_)
-        | ty::Opaque(..)
         | ty::Infer(_)
         | ty::Bound(..)
         | ty::Error(_)