Add a IsIdentity extension trait for CanonicalUserType

This commit is contained in:
Michael Goulet
2023-10-23 16:11:48 -04:00
parent 024ca99de5
commit 8f3b4f94ef
3 changed files with 11 additions and 7 deletions

View File

@@ -106,8 +106,8 @@ pub use self::sty::{
};
pub use self::trait_def::TraitDef;
pub use self::typeck_results::{
CanonicalUserType, CanonicalUserTypeAnnotation, CanonicalUserTypeAnnotations, TypeckResults,
UserType, UserTypeAnnotationIndex,
CanonicalUserType, CanonicalUserTypeAnnotation, CanonicalUserTypeAnnotations, IsIdentity,
TypeckResults, UserType, UserTypeAnnotationIndex,
};
pub mod _match;