Skip to content

Commit eefdee2

Browse files
committed
Remove ProjectionTy::from_ref_and_name
1 parent ada4b94 commit eefdee2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/ops/deref.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub trait Deref {
6464
/// The resulting type after dereferencing.
6565
#[stable(feature = "rust1", since = "1.0.0")]
6666
#[rustc_diagnostic_item = "deref_target"]
67+
#[cfg_attr(not(bootstrap), lang = "deref_target")]
6768
type Target: ?Sized;
6869

6970
/// Dereferences the value.

0 commit comments

Comments
 (0)