We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dd792b + c9d6445 commit 2e3056bCopy full SHA for 2e3056b
core/src/marker.rs
@@ -800,6 +800,15 @@ impl<T: ?Sized> Unpin for *mut T {}
800
#[rustc_on_unimplemented(message = "can't drop `{Self}`", append_const_msg)]
801
pub trait Destruct {}
802
803
+/// A marker for tuple types.
804
+///
805
+/// The implementation of this trait is built-in and cannot be implemented
806
+/// for any user type.
807
+#[unstable(feature = "tuple_trait", issue = "none")]
808
+#[cfg_attr(not(bootstrap), lang = "tuple_trait")]
809
+#[rustc_on_unimplemented(message = "`{Self}` is not a tuple")]
810
+pub trait Tuple {}
811
+
812
/// Implementations of `Copy` for primitive types.
813
///
814
/// Implementations that cannot be described in Rust
0 commit comments