Skip to content

Commit 7fbc487

Browse files
dingxiangfei2009gitbot
authored and
gitbot
committed
introduce CoercePointeeWellformed for coherence checks at typeck stage
1 parent c390311 commit 7fbc487

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/marker.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1289,3 +1289,9 @@ pub trait FnPtr: Copy + Clone {
12891289
pub macro CoercePointee($item:item) {
12901290
/* compiler built-in */
12911291
}
1292+
1293+
#[cfg(not(bootstrap))]
1294+
#[lang = "coerce_pointee_wellformed"]
1295+
#[unstable(feature = "derive_coerce_pointee", issue = "123430")]
1296+
#[doc(hidden)]
1297+
pub trait CoercePointeeWellformed {}

0 commit comments

Comments
 (0)