Skip to content

Commit 5245aca

Browse files
committed
add a #[rustc_coinductive] attribute
1 parent 599b741 commit 5245aca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/marker.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ unsafe impl<T: Sync + ?Sized> Send for &T {}
9797
#[fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
9898
#[rustc_specialization_trait]
9999
#[rustc_deny_explicit_impl]
100+
#[cfg_attr(not(bootstrap), rustc_coinductive)]
100101
pub trait Sized {
101102
// Empty.
102103
}

0 commit comments

Comments
 (0)