Skip to content

Commit bbb63f8

Browse files
Enforce that PointerLike requires a pointer-like ABI
1 parent f97e8e7 commit bbb63f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ pub trait Tuple {}
879879
#[unstable(feature = "pointer_like_trait", issue = "none")]
880880
#[lang = "pointer_like"]
881881
#[rustc_on_unimplemented(
882-
message = "`{Self}` needs to have the same alignment and size as a pointer",
882+
message = "`{Self}` needs to have the same ABI as a pointer",
883883
label = "`{Self}` needs to be a pointer-like type"
884884
)]
885885
pub trait PointerLike {}

0 commit comments

Comments
 (0)