@@ -31,41 +31,41 @@ use crate::marker::Unsize;
31
31
/// [dst-coerce]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
32
32
/// [unsize]: crate::marker::Unsize
33
33
/// [nomicon-coerce]: ../../nomicon/coercions.html
34
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
34
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
35
35
#[ lang = "coerce_unsized" ]
36
36
pub trait CoerceUnsized < T : ?Sized > {
37
37
// Empty.
38
38
}
39
39
40
40
// &mut T -> &mut U
41
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
41
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
42
42
impl < ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < & ' a mut U > for & ' a mut T { }
43
43
// &mut T -> &U
44
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
44
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
45
45
impl < ' a , ' b : ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < & ' a U > for & ' b mut T { }
46
46
// &mut T -> *mut U
47
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
47
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
48
48
impl < ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * mut U > for & ' a mut T { }
49
49
// &mut T -> *const U
50
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
50
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
51
51
impl < ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * const U > for & ' a mut T { }
52
52
53
53
// &T -> &U
54
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
54
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
55
55
impl < ' a , ' b : ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < & ' a U > for & ' b T { }
56
56
// &T -> *const U
57
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
57
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
58
58
impl < ' a , T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * const U > for & ' a T { }
59
59
60
60
// *mut T -> *mut U
61
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
61
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
62
62
impl < T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * mut U > for * mut T { }
63
63
// *mut T -> *const U
64
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
64
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
65
65
impl < T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * const U > for * mut T { }
66
66
67
67
// *const T -> *const U
68
- #[ unstable( feature = "coerce_unsized" , issue = "27732 " ) ]
68
+ #[ unstable( feature = "coerce_unsized" , issue = "18598 " ) ]
69
69
impl < T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < * const U > for * const T { }
70
70
71
71
/// `DispatchFromDyn` is used in the implementation of object safety checks (specifically allowing
0 commit comments