Skip to content

Commit b865873

Browse files
author
jasper3108
committed
make TraitImpl unstable
1 parent 7857058 commit b865873

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎library/core/src/mem/type_info.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ pub struct Type {
2020

2121
/// Info of a trait implementation, you can retrieve the vtable with [Self::get_vtable]
2222
#[derive(Debug, PartialEq, Eq)]
23+
#[unstable(feature = "type_info", issue = "146922")]
24+
#[non_exhaustive]
2325
pub struct TraitImpl<T: PointeeSized> {
2426
pub(crate) vtable: DynMetadata<T>,
2527
}

0 commit comments

Comments
 (0)