We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8f98f commit 73775a9Copy full SHA for 73775a9
1 file changed
compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
@@ -1110,6 +1110,11 @@ impl<'a> MethodDef<'a> {
1110
/// ```
1111
/// is equivalent to:
1112
1113
+ /// #![feature(core_intrinsics)]
1114
+ /// enum A {
1115
+ /// A1,
1116
+ /// A2(i32)
1117
+ /// }
1118
/// impl ::core::cmp::PartialEq for A {
1119
/// #[inline]
1120
/// fn eq(&self, other: &A) -> bool {
0 commit comments