Skip to content

Commit 3d0d97a

Browse files
Lukas Markeffskygitbot
Lukas Markeffsky
authored and
gitbot
committed
unimplement PointerLike for trait objects
1 parent 408b5c1 commit 3d0d97a

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
@@ -990,6 +990,7 @@ pub trait Tuple {}
990990
message = "`{Self}` needs to have the same ABI as a pointer",
991991
label = "`{Self}` needs to be a pointer-like type"
992992
)]
993+
#[cfg_attr(not(bootstrap), rustc_do_not_implement_via_object)]
993994
pub trait PointerLike {}
994995

995996
#[cfg(not(bootstrap))]

0 commit comments

Comments
 (0)