Deny bare trait objects in in src/liballoc
This commit is contained in:
parent
77117e3836
commit
296e72f11c
4 changed files with 13 additions and 12 deletions
|
@ -978,7 +978,7 @@ unsafe impl<#[may_dangle] T: ?Sized> Drop for Arc<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl Arc<Any + Send + Sync> {
|
||||
impl Arc<dyn Any + Send + Sync> {
|
||||
#[inline]
|
||||
#[stable(feature = "rc_downcast", since = "1.29.0")]
|
||||
/// Attempt to downcast the `Arc<Any + Send + Sync>` to a concrete type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue